AuthenticationMiddleware Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AuthenticationMiddleware.
public:
AuthenticationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ schemes);
public AuthenticationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider schemes);
new Microsoft.AspNetCore.Authentication.AuthenticationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider -> Microsoft.AspNetCore.Authentication.AuthenticationMiddleware
Public Sub New (next As RequestDelegate, schemes As IAuthenticationSchemeProvider)
Parameters
- next
- RequestDelegate
The next item in the middleware pipeline.