다음을 통해 공유


DenyAnonymousAuthorizationRequirement.HandleRequirementAsync 메서드

정의

특정 요구 사항에 따라 권한 부여가 허용되는지 결정합니다.

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

매개 변수

context
AuthorizationHandlerContext

권한 부여 컨텍스트입니다.

requirement
DenyAnonymousAuthorizationRequirement

평가할 요구 사항입니다.

반환

적용 대상