次の方法で共有


NameAuthorizationRequirement.HandleRequirementAsync メソッド

定義

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

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

パラメーター

context
AuthorizationHandlerContext

承認コンテキスト。

requirement
NameAuthorizationRequirement

評価する要件。

戻り値

適用対象