Aracılığıyla paylaş


AuthorizationPolicy.CombineAsync Yöntem

Tanım

Aşırı Yüklemeler

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

AuthorizationPolicy Belirtilen policyProvidertarafından sağlanan öğesini birleştirir.

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

AuthorizationPolicy Belirtilen policyProvidertarafından sağlanan öğesini birleştirir.

CombineAsync(IAuthorizationPolicyProvider, IEnumerable<IAuthorizeData>)

Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs

AuthorizationPolicy Belirtilen policyProvidertarafından sağlanan öğesini birleştirir.

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)

Parametreler

policyProvider
IAuthorizationPolicyProvider

Birleştirebileceğiniz IAuthorizationPolicyProvider ilkeleri sağlayan bir.

authorizeData
IEnumerable<IAuthorizeData>

Kaynağa yetkilendirme uygulamak için kullanılan yetkilendirme verilerinin koleksiyonu.

Döndürülenler

Belirtilen policyProvidertarafından sağlanan yetkilendirme ilkelerinin birleşimini temsil eden yeni AuthorizationPolicy bir .

Şunlara uygulanır

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

Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs
Kaynak:
AuthorizationPolicy.cs

AuthorizationPolicy Belirtilen policyProvidertarafından sağlanan öğesini birleştirir.

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)

Parametreler

policyProvider
IAuthorizationPolicyProvider

Birleştirebileceğiniz IAuthorizationPolicyProvider ilkeleri sağlayan bir.

authorizeData
IEnumerable<IAuthorizeData>

Kaynağa yetkilendirme uygulamak için kullanılan yetkilendirme verilerinin koleksiyonu.

policies
IEnumerable<AuthorizationPolicy>

Birleştirecek ilke koleksiyonu AuthorizationPolicy .

Döndürülenler

Belirtilen policyProvidertarafından sağlanan yetkilendirme ilkelerinin birleşimini temsil eden yeni AuthorizationPolicy bir .

Şunlara uygulanır