IAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.