Sdílet prostřednictvím


AssertionRequirement.HandleAsync(AuthorizationHandlerContext) Metoda

Definice

Zavolá, Handler aby se zjistilo, jestli je autorizace povolená.

public:
 virtual 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
override this.HandleAsync : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> System.Threading.Tasks.Task
Public Function HandleAsync (context As AuthorizationHandlerContext) As Task

Parametry

context
AuthorizationHandlerContext

Informace o autorizaci

Návraty

Implementuje

Platí pro