PassThroughAuthorizationHandler Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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. |