다음을 통해 공유


ClaimsAuthorizationRequirement.HandleRequirementAsync 메서드

정의

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

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

매개 변수

context
AuthorizationHandlerContext

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

requirement
ClaimsAuthorizationRequirement

평가할 요구 사항입니다.

반환

적용 대상