DefaultAuthorizationEvaluator.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:
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.