次の方法で共有


AuthorizationHandler<TRequirement>.HandleRequirementAsync メソッド

定義

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

protected:
 abstract System::Threading::Tasks::Task ^ HandleRequirementAsync(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context, TRequirement requirement);
protected abstract System.Threading.Tasks.Task HandleRequirementAsync (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context, TRequirement requirement);
abstract member HandleRequirementAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext * 'Requirement -> System.Threading.Tasks.Task
Protected MustOverride Function HandleRequirementAsync (context As AuthorizationHandlerContext, requirement As TRequirement) As Task

パラメーター

context
AuthorizationHandlerContext

承認コンテキスト。

requirement
TRequirement

評価する要件。

戻り値

適用対象