IAuthenticationHandler IAuthenticationHandler IAuthenticationHandler Interface

Definition

Created per request to handle authentication for to a particular scheme.

public interface IAuthenticationHandler
type IAuthenticationHandler = interface
Public Interface IAuthenticationHandler
Derived

Methods

AuthenticateAsync() AuthenticateAsync() AuthenticateAsync()

Authentication behavior.

ChallengeAsync(AuthenticationProperties) ChallengeAsync(AuthenticationProperties) ChallengeAsync(AuthenticationProperties)

Challenge behavior.

ForbidAsync(AuthenticationProperties) ForbidAsync(AuthenticationProperties) ForbidAsync(AuthenticationProperties)

Forbid behavior.

InitializeAsync(AuthenticationScheme, HttpContext) InitializeAsync(AuthenticationScheme, HttpContext) InitializeAsync(AuthenticationScheme, HttpContext)

The handler should initialize anything it needs from the request and scheme here.

Applies to