BasicAuthenticationMiddleware Constructor
Definition
- Namespace
- Cuemon.AspNetCore.Authentication.Basic
- Assemblies
- Cuemon.AspNetCore.Authentication.dll
BasicAuthenticationMiddleware(RequestDelegate, IOptions<BasicAuthenticationOptions>)
Initializes a new instance of the BasicAuthenticationMiddleware class.
public BasicAuthenticationMiddleware(RequestDelegate next, IOptions<BasicAuthenticationOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupIOptions<BasicAuthenticationOptions>The BasicAuthenticationOptions which need to be configured.
BasicAuthenticationMiddleware(RequestDelegate, Action<BasicAuthenticationOptions>)
Initializes a new instance of the BasicAuthenticationMiddleware class.
public BasicAuthenticationMiddleware(RequestDelegate next, Action<BasicAuthenticationOptions> setup)
Parameters
nextRequestDelegateThe delegate of the request pipeline to invoke.
setupAction<BasicAuthenticationOptions>The middleware BasicAuthenticationOptions which need to be configured.