IAuthenticationHandler Interface

Definition

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

public interface class IAuthenticationHandler
public interface IAuthenticationHandler
type IAuthenticationHandler = interface
Public Interface IAuthenticationHandler
Derived

Methods

AuthenticateAsync()

Authenticate the current request.

ChallengeAsync(AuthenticationProperties)

Challenge the current request.

ForbidAsync(AuthenticationProperties)

Forbid the current request.

InitializeAsync(AuthenticationScheme, HttpContext)

Initialize the authentication handler. The handler should initialize anything it needs from the request and scheme as part of this method.

Applies to