AuthorizationHandler<TRequirement,TResource>.HandleRequirementAsync(AuthorizationHandlerContext, TRequirement, TResource) メソッド

定義

特定の要件とリソースに基づいて承認が許可される場合に決定を行います。

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

パラメーター

context
AuthorizationHandlerContext

承認コンテキスト。

requirement
TRequirement

評価する要件。

resource
TResource

評価するリソース。

戻り値

Task

適用対象