Partilhar via


PolicyAuthorizationResult.Challenge Método

Definição

Indica que um usuário não autenticado solicitou acesso a um ponto de extremidade que requer autenticação.

public:
 static Microsoft::AspNetCore::Authorization::Policy::PolicyAuthorizationResult ^ Challenge();
public static Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult Challenge ();
static member Challenge : unit -> Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult
Public Shared Function Challenge () As PolicyAuthorizationResult

Retornos

O PolicyAuthorizationResult.

Aplica-se a