DefaultAuthorizationHandlerContextFactory 类

定义

用于提供用于授权的 AuthorizationHandlerContext 的类型。

public ref class DefaultAuthorizationHandlerContextFactory : Microsoft::AspNetCore::Authorization::IAuthorizationHandlerContextFactory
public class DefaultAuthorizationHandlerContextFactory : Microsoft.AspNetCore.Authorization.IAuthorizationHandlerContextFactory
type DefaultAuthorizationHandlerContextFactory = class
    interface IAuthorizationHandlerContextFactory
Public Class DefaultAuthorizationHandlerContextFactory
Implements IAuthorizationHandlerContextFactory
继承
DefaultAuthorizationHandlerContextFactory
实现

构造函数

DefaultAuthorizationHandlerContextFactory()

用于提供用于授权的 AuthorizationHandlerContext 的类型。

方法

CreateContext(IEnumerable<IAuthorizationRequirement>, ClaimsPrincipal, Object)

AuthorizationHandlerContext创建用于授权的 。

适用于