DenyAnonymousAuthorizationRequirement.HandleRequirementAsync Yöntem

Tanım

Belirli bir gereksinime göre yetkilendirmeye izin verilip verilmiyorsa karar verir.

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

Parametreler

context
AuthorizationHandlerContext

Yetkilendirme bağlamı.

requirement
DenyAnonymousAuthorizationRequirement

Değerlendirme gereksinimi.

Döndürülenler

Şunlara uygulanır