Class HmacAuthenticationHandler
- Assembly
- Cuemon.AspNetCore.Authentication.dll
Provides a HTTP HMAC Authentication implementation of Microsoft.AspNetCore.Authentication.AuthenticationHandler<TOptions> for ASP.NET Core.
public class HmacAuthenticationHandler : AuthenticationHandler<HmacAuthenticationOptions>, IAuthenticationHandler
- Inheritance
-
AuthenticationHandler<HmacAuthenticationOptions>HmacAuthenticationHandler
- Implements
-
IAuthenticationHandler
- Inherited Members
-
AuthenticationHandler<HmacAuthenticationOptions>.InitializeAsync(AuthenticationScheme, HttpContext)AuthenticationHandler<HmacAuthenticationOptions>.InitializeEventsAsync()AuthenticationHandler<HmacAuthenticationOptions>.CreateEventsAsync()AuthenticationHandler<HmacAuthenticationOptions>.InitializeHandlerAsync()AuthenticationHandler<HmacAuthenticationOptions>.BuildRedirectUri(String)AuthenticationHandler<HmacAuthenticationOptions>.ResolveTarget(String)AuthenticationHandler<HmacAuthenticationOptions>.AuthenticateAsync()AuthenticationHandler<HmacAuthenticationOptions>.HandleAuthenticateOnceAsync()AuthenticationHandler<HmacAuthenticationOptions>.HandleAuthenticateOnceSafeAsync()AuthenticationHandler<HmacAuthenticationOptions>.HandleForbiddenAsync(AuthenticationProperties)AuthenticationHandler<HmacAuthenticationOptions>.ChallengeAsync(AuthenticationProperties)AuthenticationHandler<HmacAuthenticationOptions>.ForbidAsync(AuthenticationProperties)AuthenticationHandler<HmacAuthenticationOptions>.SchemeAuthenticationHandler<HmacAuthenticationOptions>.OptionsAuthenticationHandler<HmacAuthenticationOptions>.ContextAuthenticationHandler<HmacAuthenticationOptions>.RequestAuthenticationHandler<HmacAuthenticationOptions>.ResponseAuthenticationHandler<HmacAuthenticationOptions>.OriginalPathAuthenticationHandler<HmacAuthenticationOptions>.OriginalPathBaseAuthenticationHandler<HmacAuthenticationOptions>.LoggerAuthenticationHandler<HmacAuthenticationOptions>.UrlEncoderAuthenticationHandler<HmacAuthenticationOptions>.ClockAuthenticationHandler<HmacAuthenticationOptions>.TimeProviderAuthenticationHandler<HmacAuthenticationOptions>.OptionsMonitorAuthenticationHandler<HmacAuthenticationOptions>.EventsAuthenticationHandler<HmacAuthenticationOptions>.ClaimsIssuerAuthenticationHandler<HmacAuthenticationOptions>.CurrentUri
Constructors
HmacAuthenticationHandler(IOptionsMonitor<HmacAuthenticationOptions>, ILoggerFactory, UrlEncoder)
Initializes a new instance of the HmacAuthenticationHandler class.
public HmacAuthenticationHandler(IOptionsMonitor<HmacAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder)
Parameters
options
IOptionsMonitor<HmacAuthenticationOptions>The monitor for the options instance.
logger
ILoggerFactoryThe ILoggerFactory.
encoder
UrlEncoderThe 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 async Task HandleChallengeAsync(AuthenticationProperties properties)
Parameters
properties
AuthenticationPropertiesThe properties.
Returns
See Also
AuthenticationHandler<TOptions>