Table of Contents

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>

The IOptionsMonitor<TOptions>.

loggerFactory ILoggerFactory

The ILoggerFactory.

encoder UrlEncoder

The UrlEncoder.

Remarks

Initializes a new instance of the MicrosoftIDentityPlatformAuthHandler class.

Fields

SchemeName

Gets the scheme name.

public const string SchemeName = "MicrosoftIdentityPlatform"

Field Value

string

Methods

HandleAuthenticateAsync()

Allows derived types to handle authentication.

protected override Task<AuthenticateResult> HandleAuthenticateAsync()

Returns

Task<AuthenticateResult>

The AuthenticateResult.