IAuthenticationRequestHandler Rozhraní

Definice

Používá se k určení, jestli se obslužná rutina chce účastnit zpracování požadavků.

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
Odvozené
Implementuje

Metody

AuthenticateAsync()

Ověřte aktuální požadavek.

(Zděděno od IAuthenticationHandler)
ChallengeAsync(AuthenticationProperties)

Zpochybníte aktuální požadavek.

(Zděděno od IAuthenticationHandler)
ForbidAsync(AuthenticationProperties)

Zakažte aktuální požadavek.

(Zděděno od IAuthenticationHandler)
HandleRequestAsync()

Získá hodnotu, která určuje, zda požadavek by se měl přestat zpracovávat.

Tuto funkci podporuje middleware ověřování, který nevyvolává žádný následný IAuthenticationHandler ani middleware nakonfigurovaný v kanálu požadavku, pokud obslužná rutina vrátí true.

InitializeAsync(AuthenticationScheme, HttpContext)

Inicializuje obslužnou rutinu ověřování. Obslužná rutina by měla inicializovat vše, co potřebuje z požadavku a schématu jako součást této metody.

(Zděděno od IAuthenticationHandler)

Platí pro