/// <summary> /// Initializes a new instance of the <see cref="AuthenticationMiddleware"/> class. /// </summary> /// <param name="next">The next middleware in the chain.</param> /// <param name="configuration">The active <see cref="WebApiService"/> configuration.</param> public AuthenticationMiddleware(OwinMiddleware next, WebApiServiceConfiguration configuration) : base(next) { Configuration = configuration; }
/// <summary> /// Initializes a new instance of the <see cref="LoggingMiddleware"/> class. /// </summary> /// <param name="next">The middlware component which follows.</param> /// <param name="configuration">The active configuration for the <see cref="WebApiService"/>.</param> public LoggingMiddleware(OwinMiddleware next, WebApiServiceConfiguration configuration) : base(next) { Configuration = configuration; }