Class HmacAuthenticationHandler
- Namespace
- Cuemon.AspNetCore.Authentication.Hmac
- Assembly
- Cuemon.AspNetCore.Authentication.dll
Provides a HTTP HMAC Authentication implementation of AuthenticationHandler<TOptions> for ASP.NET Core.
public class HmacAuthenticationHandler : AuthenticationHandler<HmacAuthenticationOptions>, IAuthenticationHandler- Inheritance
- 
      
      
      HmacAuthenticationHandler
- Implements
- Inherited Members
Constructors
HmacAuthenticationHandler(IOptionsMonitor<HmacAuthenticationOptions>, ILoggerFactory, UrlEncoder)
Initializes a new instance of the HmacAuthenticationHandler class.
public HmacAuthenticationHandler(IOptionsMonitor<HmacAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder)Parameters
- optionsIOptionsMonitor<HmacAuthenticationOptions>
- The monitor for the options instance. 
- loggerILoggerFactory
- The ILoggerFactory. 
- encoderUrlEncoder
- The UrlEncoder. 
Methods
HandleAuthenticateAsync()
Handle authenticate as an asynchronous operation.
protected override Task<AuthenticateResult> HandleAuthenticateAsync()Returns
- Task<AuthenticateResult>
- A Task<TResult> representing the asynchronous operation. 
HandleChallengeAsync(AuthenticationProperties)
Handle challenge as an asynchronous operation.
protected override Task HandleChallengeAsync(AuthenticationProperties properties)Parameters
- propertiesAuthenticationProperties
- The properties. 
Returns
See Also
AuthenticationHandler<TOptions>