Sdílet prostřednictvím


IAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Metoda

Definice

Vrátí hodnotu true, pokud autorizace selhala.

public:
 bool HasFailed(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public bool HasFailed (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HasFailed : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> bool
Public Function HasFailed (context As AuthorizationHandlerContext) As Boolean

Parametry

context
AuthorizationHandlerContext

Informace o autorizaci

Návraty

Hodnota True, pokud autorizace selhala.

Platí pro