共用方式為


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>

用來設定這個實例的選項。

適用於