IAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Method

Definition

Returns true, if authorization has failed.

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

Parameters

context
AuthorizationHandlerContext

The authorization information.

Returns

True if authorization has failed.

Applies to