4 instantiations of AuthenticationMiddleware
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (4)
69
var middleware = new
AuthenticationMiddleware
(c => Task.CompletedTask, schemeProvider.Object);
92
var middleware = new
AuthenticationMiddleware
(c => Task.CompletedTask, schemeProvider.Object);
112
var middleware = new
AuthenticationMiddleware
(c => Task.CompletedTask, schemeProvider.Object);
138
var 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.
25
return app.UseMiddleware<
AuthenticationMiddleware
>();
AuthenticationMiddleware.cs (1)
18
/// Initializes a new instance of <see cref="
AuthenticationMiddleware
"/>.
Microsoft.AspNetCore.Authentication.Test (4)
AuthenticationMiddlewareTests.cs (4)
69
var
middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object);
92
var
middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object);
112
var
middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object);
138
var
middleware = new AuthenticationMiddleware(c => Task.CompletedTask, schemeProvider.Object);