4 instantiations of AuthenticationMiddleware
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (4)
69var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object); 92var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object); 112var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object); 138var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object);
7 references to AuthenticationMiddleware
Microsoft.AspNetCore.Authentication (3)
AuthAppBuilderExtensions.cs (2)
16/// Adds the <see cref="AuthenticationMiddleware"/> to the specified <see cref="IApplicationBuilder"/>, which enables authentication capabilities. 25return app.UseMiddleware<AuthenticationMiddleware>();
AuthenticationMiddleware.cs (1)
18/// Initializes a new instance of <see cref="AuthenticationMiddleware"/>.
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (4)
69var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object); 92var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object); 112var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object); 138var middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object);