次の方法で共有


RolesAuthorizationRequirement.HandleRequirementAsync メソッド

定義

特定の要件に基づいて承認が許可されるかどうかを決定します。

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

パラメーター

context
AuthorizationHandlerContext

承認コンテキスト。

requirement
RolesAuthorizationRequirement

評価する要件。

戻り値

適用対象