Bagikan melalui


PassThroughAuthorizationHandler Kelas

Definisi

Kelas infrastruktur yang memungkinkan IAuthorizationRequirement untuk menjadi miliknya sendiri IAuthorizationHandler.

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
Warisan
PassThroughAuthorizationHandler
Penerapan

Konstruktor

PassThroughAuthorizationHandler()

Membuat instans baru .PassThroughAuthorizationHandler

PassThroughAuthorizationHandler(IOptions<AuthorizationOptions>)

Membuat instans baru .PassThroughAuthorizationHandler

Metode

HandleAsync(AuthorizationHandlerContext)

Membuat keputusan jika otorisasi diizinkan.

Berlaku untuk