Delen via


IAuthenticationRequestHandler Interface

Definition

Used to determine if a handler wants to participate in request processing.

public interface class IAuthenticationRequestHandler : Microsoft::AspNetCore::Authentication::IAuthenticationHandler
public interface IAuthenticationRequestHandler : Microsoft.AspNetCore.Authentication.IAuthenticationHandler
type IAuthenticationRequestHandler = interface
    interface IAuthenticationHandler
Public Interface IAuthenticationRequestHandler
Implements IAuthenticationHandler
Derived
Implements

Methods

AuthenticateAsync()

Authenticate the current request.

(Inherited from IAuthenticationHandler)
ChallengeAsync(AuthenticationProperties)

Challenge the current request.

(Inherited from IAuthenticationHandler)
ForbidAsync(AuthenticationProperties)

Forbid the current request.

(Inherited from IAuthenticationHandler)
HandleRequestAsync()

Gets a value that determines if the request should stop being processed.

This feature is supported by the Authentication middleware which does not invoke any subsequent IAuthenticationHandler or middleware configured in the request pipeline if the handler returns true.

InitializeAsync(AuthenticationScheme, HttpContext)

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

(Inherited from IAuthenticationHandler)

Applies to