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