Class MicrosoftIDentityPlatformAuthHandler
- Namespace
- Cratis.Applications.Identity
- Assembly
- Cratis.Applications.dll
Represents an AuthenticationHandler<TOptions> for handling authentication in the context of Microsoft Identity Platform.
public class MicrosoftIDentityPlatformAuthHandler : AuthenticationHandler<AuthenticationSchemeOptions>, IAuthenticationHandler
- Inheritance
-
MicrosoftIDentityPlatformAuthHandler
- Implements
- Inherited Members
Remarks
Initializes a new instance of the MicrosoftIDentityPlatformAuthHandler class.
Constructors
MicrosoftIDentityPlatformAuthHandler(IOptionsMonitor<AuthenticationSchemeOptions>, ILoggerFactory, UrlEncoder)
Represents an AuthenticationHandler<TOptions> for handling authentication in the context of Microsoft Identity Platform.
public MicrosoftIDentityPlatformAuthHandler(IOptionsMonitor<AuthenticationSchemeOptions> options, ILoggerFactory loggerFactory, UrlEncoder encoder)
Parameters
options
IOptionsMonitor<AuthenticationSchemeOptions>loggerFactory
ILoggerFactoryThe ILoggerFactory.
encoder
UrlEncoderThe UrlEncoder.
Remarks
Initializes a new instance of the MicrosoftIDentityPlatformAuthHandler class.
Fields
SchemeName
Gets the scheme name.
public const string SchemeName = "MicrosoftIdentityPlatform"
Field Value
Methods
HandleAuthenticateAsync()
Allows derived types to handle authentication.
protected override Task<AuthenticateResult> HandleAuthenticateAsync()