Freigeben über


AuthorizationHandler<TRequirement,TResource>.HandleAsync Methode

Definition

Trifft eine Entscheidung, ob die Autorisierung zulässig ist.

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

Parameter

context
AuthorizationHandlerContext

Der Autorisierungskontext.

Gibt zurück

Implementiert

Gilt für: