Partager via


AuthorizationPolicy.CombineAsync Méthode

Définition

Surcharges

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Combine le AuthorizationPolicy fourni par le spécifié policyProvider.

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>, IEnumerable<AuthorizationPolicy>)

Combine le AuthorizationPolicy fourni par le spécifié policyProvider.

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs

Combine le AuthorizationPolicy fourni par le spécifié policyProvider.

public:
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^> ^ CombineAsync(Microsoft::AspNetCore::Authorization::IAuthorizationPolicyProvider ^ policyProvider, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Authorization::IAuthorizeData ^> ^ authorizeData);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> CombineAsync (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData> authorizeData);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy?> CombineAsync (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData> authorizeData);
static member CombineAsync : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * seq<Microsoft.AspNetCore.Authorization.IAuthorizeData> -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>
Public Shared Function CombineAsync (policyProvider As IAuthorizationPolicyProvider, authorizeData As IEnumerable(Of IAuthorizeData)) As Task(Of AuthorizationPolicy)

Paramètres

policyProvider
IAuthorizationPolicyProvider

IAuthorizationPolicyProvider qui fournit les stratégies à combiner.

authorizeData
IEnumerable<IAuthorizeData>

Collection de données d’autorisation utilisées pour appliquer l’autorisation à une ressource.

Retours

Nouveau AuthorizationPolicy qui représente la combinaison des stratégies d’autorisation fournies par le spécifié policyProvider.

S’applique à

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>, IEnumerable<AuthorizationPolicy>)

Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs
Source:
AuthorizationPolicy.cs

Combine le AuthorizationPolicy fourni par le spécifié policyProvider.

public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy?> CombineAsync (Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider policyProvider, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.IAuthorizeData> authorizeData, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> policies);
static member CombineAsync : Microsoft.AspNetCore.Authorization.IAuthorizationPolicyProvider * seq<Microsoft.AspNetCore.Authorization.IAuthorizeData> * seq<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>
Public Shared Function CombineAsync (policyProvider As IAuthorizationPolicyProvider, authorizeData As IEnumerable(Of IAuthorizeData), policies As IEnumerable(Of AuthorizationPolicy)) As Task(Of AuthorizationPolicy)

Paramètres

policyProvider
IAuthorizationPolicyProvider

IAuthorizationPolicyProvider qui fournit les stratégies à combiner.

authorizeData
IEnumerable<IAuthorizeData>

Collection de données d’autorisation utilisées pour appliquer l’autorisation à une ressource.

policies
IEnumerable<AuthorizationPolicy>

Collection de AuthorizationPolicy stratégies à combiner.

Retours

Nouveau AuthorizationPolicy qui représente la combinaison des stratégies d’autorisation fournies par le spécifié policyProvider.

S’applique à