DefaultAuthorizationEvaluator Class

Definition

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.

Applies to