共用方式為


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建立用於授權的 。

適用於