Udostępnij za pośrednictwem


DefaultAuthorizationEvaluator.Evaluate(AuthorizationHandlerContext) Metoda

Definicja

Określa, czy wynik autoryzacji zakończył się pomyślnie, czy nie.

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

Parametry

context
AuthorizationHandlerContext

Informacje o autoryzacji.

Zwraca

Element AuthorizationResult.

Implementuje

Dotyczy