Udostępnij za pośrednictwem


PassThroughAuthorizationHandler Klasa

Definicja

Klasa infrastruktury, która umożliwia IAuthorizationRequirement utworzenie własnego IAuthorizationHandlerobiektu .

public ref class PassThroughAuthorizationHandler : Microsoft::AspNetCore::Authorization::IAuthorizationHandler
public class PassThroughAuthorizationHandler : Microsoft.AspNetCore.Authorization.IAuthorizationHandler
type PassThroughAuthorizationHandler = class
    interface IAuthorizationHandler
Public Class PassThroughAuthorizationHandler
Implements IAuthorizationHandler
Dziedziczenie
PassThroughAuthorizationHandler
Implementuje

Konstruktory

PassThroughAuthorizationHandler()

Tworzy nowe wystąpienie klasy PassThroughAuthorizationHandler.

PassThroughAuthorizationHandler(IOptions<AuthorizationOptions>)

Tworzy nowe wystąpienie klasy PassThroughAuthorizationHandler.

Metody

HandleAsync(AuthorizationHandlerContext)

Podejmuje decyzję, jeśli autoryzacja jest dozwolona.

Dotyczy