DefaultAuthorizationPolicyProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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>
用于配置此实例的选项。