Share via


IAuthorizationHandler.HandleAsync(AuthorizationHandlerContext) Method

Definition

Makes a decision if authorization is allowed.

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

Parameters

context
AuthorizationHandlerContext

The authorization information.

Returns

Applies to