Condividi tramite


AuthorizationPolicy.CombineAsync Metodo

Definizione

Overload

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Combina l'oggetto AuthorizationPolicy fornito dall'oggetto specificato policyProvider.

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

Combina l'oggetto AuthorizationPolicy fornito dall'oggetto specificato policyProvider.

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs

Combina l'oggetto AuthorizationPolicy fornito dall'oggetto specificato 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)

Parametri

policyProvider
IAuthorizationPolicyProvider

Oggetto IAuthorizationPolicyProvider che fornisce i criteri da combinare.

authorizeData
IEnumerable<IAuthorizeData>

Raccolta di dati di autorizzazione usati per applicare l'autorizzazione a una risorsa.

Restituisce

Nuovo AuthorizationPolicy oggetto che rappresenta la combinazione dei criteri di autorizzazione forniti dall'oggetto specificato policyProvider.

Si applica a

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

Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs
Origine:
AuthorizationPolicy.cs

Combina l'oggetto AuthorizationPolicy fornito dall'oggetto specificato 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)

Parametri

policyProvider
IAuthorizationPolicyProvider

Oggetto IAuthorizationPolicyProvider che fornisce i criteri da combinare.

authorizeData
IEnumerable<IAuthorizeData>

Raccolta di dati di autorizzazione usati per applicare l'autorizzazione a una risorsa.

policies
IEnumerable<AuthorizationPolicy>

Raccolta di AuthorizationPolicy criteri da combinare.

Restituisce

Nuovo AuthorizationPolicy oggetto che rappresenta la combinazione dei criteri di autorizzazione forniti dall'oggetto specificato policyProvider.

Si applica a