DefaultAuthorizationEvaluator Class
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.
Determines whether an authorization request was successful or not.
public ref class DefaultAuthorizationEvaluator : Microsoft::AspNetCore::Authorization::IAuthorizationEvaluator
public class DefaultAuthorizationEvaluator : Microsoft.AspNetCore.Authorization.IAuthorizationEvaluator
type DefaultAuthorizationEvaluator = class
interface IAuthorizationEvaluator
Public Class DefaultAuthorizationEvaluator
Implements IAuthorizationEvaluator
- Inheritance
-
DefaultAuthorizationEvaluator
- Implements
Constructors
DefaultAuthorizationEvaluator() |
Methods
Evaluate(AuthorizationHandlerContext) |
Determines whether the authorization result was successful or not. |
HasFailed(AuthorizationHandlerContext) |
Returns true, if authorization has failed. |
HasSucceeded(AuthorizationHandlerContext) |
Returns true, if authorization has succeeded. |