IAuthorizationHandler.HandleAsync(AuthorizationHandlerContext) 方法

定义

决定是否允许授权。

public:
 System::Threading::Tasks::Task ^ HandleAsync(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public System.Threading.Tasks.Task HandleAsync (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HandleAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> System.Threading.Tasks.Task
Public Function HandleAsync (context As AuthorizationHandlerContext) As Task

参数

context
AuthorizationHandlerContext

授权信息。

返回

适用于