Aracılığıyla paylaş


ClaimsAuthorizationRequirement.HandleRequirementAsync Yöntem

Tanım

Belirtilen talep gereksinimlerine göre yetkilendirmeye izin verilip verilmiyorsa bir karar verir.

protected:
 override System::Threading::Tasks::Task ^ HandleRequirementAsync(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context, Microsoft::AspNetCore::Authorization::Infrastructure::ClaimsAuthorizationRequirement ^ requirement);
protected override System.Threading.Tasks.Task HandleRequirementAsync (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement requirement);
override this.HandleRequirementAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext * Microsoft.AspNetCore.Authorization.Infrastructure.ClaimsAuthorizationRequirement -> System.Threading.Tasks.Task
Protected Overrides Function HandleRequirementAsync (context As AuthorizationHandlerContext, requirement As ClaimsAuthorizationRequirement) As Task

Parametreler

context
AuthorizationHandlerContext

Yetkilendirme bağlamı.

requirement
ClaimsAuthorizationRequirement

Değerlendirme gereksinimi.

Döndürülenler

Şunlara uygulanır