AuthorizationPolicyBuilder 构造函数

定义

重载

AuthorizationPolicyBuilder(AuthorizationPolicy)

创建 AuthorizationPolicyBuilder 的新实例。

AuthorizationPolicyBuilder(String[])

创建 AuthorizationPolicyBuilder 的新实例

AuthorizationPolicyBuilder(AuthorizationPolicy)

Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
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[])

Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
AuthorizationPolicyBuilder.cs
Source:
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[]

应针对策略进行评估的身份验证方案的数组。

适用于