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>
用來設定這個實例的選項。