共用方式為


AuthorizationPolicyBuilder 建構函式

定義

多載

AuthorizationPolicyBuilder(AuthorizationPolicy)

建立 AuthorizationPolicyBuilder 的新執行個體。

AuthorizationPolicyBuilder(String[])

建立 AuthorizationPolicyBuilder 的新執行個體

AuthorizationPolicyBuilder(AuthorizationPolicy)

來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs

建立 AuthorizationPolicyBuilder 的新執行個體。

public:
 AuthorizationPolicyBuilder(Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^ policy);
public AuthorizationPolicyBuilder (Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy);
new Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder : Microsoft.AspNetCore.Authorization.AuthorizationPolicy -> Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder
Public Sub New (policy As AuthorizationPolicy)

參數

policy
AuthorizationPolicy

要複製的 AuthorizationPolicy

適用於

AuthorizationPolicyBuilder(String[])

來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs
來源:
AuthorizationPolicyBuilder.cs

建立 AuthorizationPolicyBuilder 的新執行個體

public:
 AuthorizationPolicyBuilder(... cli::array <System::String ^> ^ authenticationSchemes);
public AuthorizationPolicyBuilder (params string[] authenticationSchemes);
new Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder : string[] -> Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder
Public Sub New (ParamArray authenticationSchemes As String())

參數

authenticationSchemes
String[]

應該評估原則的驗證配置陣列。

適用於