internal BasicAuthenticationMiddleware(Func<IDictionary<string, object>, Task> next, BasicAuthenticationProtocol protocol) { if (next == null) { throw new ArgumentNullException("next"); } if (protocol == null) { throw new ArgumentNullException("protocol"); } _next = next; _protocol = protocol; }
internal BasicAuthenticationMiddleware(Func <IDictionary <string, object>, Task> next, BasicAuthenticationProtocol protocol) { if (next == null) { throw new ArgumentNullException("next"); } if (protocol == null) { throw new ArgumentNullException("protocol"); } _next = next; _protocol = protocol; }