Class DigestAuthenticationHandler
- Assembly
- Cuemon.AspNetCore.Authentication.dll
Provides a HTTP Digest Access Authentication implementation of Microsoft.AspNetCore.Authentication.AuthenticationHandler<TOptions> for ASP.NET Core.
public class DigestAuthenticationHandler : AuthenticationHandler<DigestAuthenticationOptions>, IAuthenticationHandler
- Inheritance
-
AuthenticationHandler<DigestAuthenticationOptions>DigestAuthenticationHandler
- Implements
-
IAuthenticationHandler
- Inherited Members
-
AuthenticationHandler<DigestAuthenticationOptions>.InitializeAsync(AuthenticationScheme, HttpContext)AuthenticationHandler<DigestAuthenticationOptions>.InitializeEventsAsync()AuthenticationHandler<DigestAuthenticationOptions>.CreateEventsAsync()AuthenticationHandler<DigestAuthenticationOptions>.InitializeHandlerAsync()AuthenticationHandler<DigestAuthenticationOptions>.BuildRedirectUri(String)AuthenticationHandler<DigestAuthenticationOptions>.ResolveTarget(String)AuthenticationHandler<DigestAuthenticationOptions>.AuthenticateAsync()AuthenticationHandler<DigestAuthenticationOptions>.HandleAuthenticateOnceAsync()AuthenticationHandler<DigestAuthenticationOptions>.HandleAuthenticateOnceSafeAsync()AuthenticationHandler<DigestAuthenticationOptions>.HandleForbiddenAsync(AuthenticationProperties)AuthenticationHandler<DigestAuthenticationOptions>.ChallengeAsync(AuthenticationProperties)AuthenticationHandler<DigestAuthenticationOptions>.ForbidAsync(AuthenticationProperties)AuthenticationHandler<DigestAuthenticationOptions>.SchemeAuthenticationHandler<DigestAuthenticationOptions>.OptionsAuthenticationHandler<DigestAuthenticationOptions>.ContextAuthenticationHandler<DigestAuthenticationOptions>.RequestAuthenticationHandler<DigestAuthenticationOptions>.ResponseAuthenticationHandler<DigestAuthenticationOptions>.OriginalPathAuthenticationHandler<DigestAuthenticationOptions>.OriginalPathBaseAuthenticationHandler<DigestAuthenticationOptions>.LoggerAuthenticationHandler<DigestAuthenticationOptions>.UrlEncoderAuthenticationHandler<DigestAuthenticationOptions>.ClockAuthenticationHandler<DigestAuthenticationOptions>.TimeProviderAuthenticationHandler<DigestAuthenticationOptions>.OptionsMonitorAuthenticationHandler<DigestAuthenticationOptions>.EventsAuthenticationHandler<DigestAuthenticationOptions>.ClaimsIssuerAuthenticationHandler<DigestAuthenticationOptions>.CurrentUri
Constructors
DigestAuthenticationHandler(IOptionsMonitor<DigestAuthenticationOptions>, ILoggerFactory, UrlEncoder, INonceTracker)
Initializes a new instance of the DigestAuthenticationHandler class.
public DigestAuthenticationHandler(IOptionsMonitor<DigestAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, INonceTracker nonceTracker = null)
Parameters
options
IOptionsMonitor<DigestAuthenticationOptions>The monitor for the options instance.
logger
ILoggerFactoryThe ILoggerFactory.
encoder
UrlEncoderThe UrlEncoder.
nonceTracker
INonceTrackerThe dependency injected implementation of an INonceTracker.
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
Remarks
qop
is included and supported to be compliant with RFC 2617 (hence, this implementation cannot revert to reduced legacy RFC 2069 mode).
See Also
AuthenticationHandler<TOptions>