Partager via


DefaultAuthorizationEvaluator.Evaluate(AuthorizationHandlerContext) Méthode

Définition

Détermine si le résultat de l’autorisation a réussi ou non.

public:
 virtual Microsoft::AspNetCore::Authorization::AuthorizationResult ^ Evaluate(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public Microsoft.AspNetCore.Authorization.AuthorizationResult Evaluate (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member Evaluate : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> Microsoft.AspNetCore.Authorization.AuthorizationResult
override this.Evaluate : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> Microsoft.AspNetCore.Authorization.AuthorizationResult
Public Function Evaluate (context As AuthorizationHandlerContext) As AuthorizationResult

Paramètres

context
AuthorizationHandlerContext

Informations d’autorisation.

Retours

L’AuthorizationResultopérateur

Implémente

S’applique à