DefaultAuthorizationPolicyProvider 构造函数

定义

创建 DefaultAuthorizationPolicyProvider 的新实例。

public:
 DefaultAuthorizationPolicyProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authorization::AuthorizationOptions ^> ^ options);
public DefaultAuthorizationPolicyProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions> options);
new Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authorization.AuthorizationOptions> -> Microsoft.AspNetCore.Authorization.DefaultAuthorizationPolicyProvider
Public Sub New (options As IOptions(Of AuthorizationOptions))

参数

options
IOptions<AuthorizationOptions>

用于配置此实例的选项。

适用于