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