Share via


DefaultAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Method

Definition

Returns true, if authorization has failed.

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

Parameters

context
AuthorizationHandlerContext

The authorization information.

Returns

True if authorization has failed.

Implements

Applies to