次の方法で共有


DenyAnonymousAuthorizationRequirement.HandleRequirementAsync メソッド

定義

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

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

パラメーター

context
AuthorizationHandlerContext

承認コンテキスト。

requirement
DenyAnonymousAuthorizationRequirement

評価する要件。

戻り値

適用対象