AuthorizationPolicy.CombineAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>) |
Combina el AuthorizationPolicy proporcionado por el especificado |
CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>, IEnumerable<AuthorizationPolicy>) |
Combina el AuthorizationPolicy proporcionado por el especificado |
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
Combina el AuthorizationPolicy proporcionado por el especificado 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)
Parámetros
- policyProvider
- IAuthorizationPolicyProvider
que IAuthorizationPolicyProvider proporciona las directivas que se van a combinar.
- authorizeData
- IEnumerable<IAuthorizeData>
Colección de datos de autorización usados para aplicar autorización a un recurso.
Devoluciones
Nuevo AuthorizationPolicy que representa la combinación de las directivas de autorización proporcionadas por el especificado policyProvider
.
Se aplica a
CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>, IEnumerable<AuthorizationPolicy>)
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
- Source:
- AuthorizationPolicy.cs
Combina el AuthorizationPolicy proporcionado por el especificado 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)
Parámetros
- policyProvider
- IAuthorizationPolicyProvider
que IAuthorizationPolicyProvider proporciona las directivas que se van a combinar.
- authorizeData
- IEnumerable<IAuthorizeData>
Colección de datos de autorización usados para aplicar autorización a un recurso.
- policies
- IEnumerable<AuthorizationPolicy>
Colección de AuthorizationPolicy directivas que se van a combinar.
Devoluciones
Nuevo AuthorizationPolicy que representa la combinación de las directivas de autorización proporcionadas por el especificado policyProvider
.