PassThroughAuthorizationHandler 类

定义

基础结构类,它允许 IAuthorizationRequirement 作为自己的 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
继承
PassThroughAuthorizationHandler
实现

构造函数

PassThroughAuthorizationHandler()

创建 PassThroughAuthorizationHandler 的新实例。

PassThroughAuthorizationHandler(IOptions<AuthorizationOptions>)

创建 PassThroughAuthorizationHandler 的新实例。

方法

HandleAsync(AuthorizationHandlerContext)

决定是否允许授权。

适用于