Class LocalApiAuthenticationHandler
- Assembly
- Duende.IdentityServer.dll
Authentication handler for validating access token from the local IdentityServer
public class LocalApiAuthenticationHandler : AuthenticationHandler<LocalApiAuthenticationOptions>, IAuthenticationHandler
- Inheritance
-
LocalApiAuthenticationHandler
- Implements
- Inherited Members
Constructors
LocalApiAuthenticationHandler(IOptionsMonitor<LocalApiAuthenticationOptions>, ILoggerFactory, UrlEncoder, ITokenValidator, IDPoPProofValidator, IClientStore)
public LocalApiAuthenticationHandler(IOptionsMonitor<LocalApiAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ITokenValidator tokenValidator, IDPoPProofValidator dpopValidator, IClientStore clientStore)
Parameters
options
IOptionsMonitor<LocalApiAuthenticationOptions>logger
ILoggerFactoryencoder
UrlEncodertokenValidator
ITokenValidatordpopValidator
IDPoPProofValidatorclientStore
IClientStore
Properties
Events
The handler calls methods on the events which give the application control at certain points where processing is occurring. If it is not provided a default instance is supplied which does nothing when the methods are called.
protected LocalApiAuthenticationEvents Events { get; set; }
Property Value
Methods
CreateEventsAsync()
protected override Task<object> CreateEventsAsync()
Returns
HandleAuthenticateAsync()
protected override Task<AuthenticateResult> HandleAuthenticateAsync()
Returns
HandleChallengeAsync(AuthenticationProperties)
protected override Task HandleChallengeAsync(AuthenticationProperties properties)
Parameters
properties
AuthenticationProperties