Partilhar via


OpenIdConnectHandler.HandleUnauthorizedAsync(ChallengeContext) Método

Definição

Responde a um desafio 401. Envia uma mensagem OpenIdConnect para a "autoridade de identidade" para obter uma identidade.

protected:
 override System::Threading::Tasks::Task<bool> ^ HandleUnauthorizedAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);
protected override System.Threading.Tasks.Task<bool> HandleUnauthorizedAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);
override this.HandleUnauthorizedAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task<bool>
Protected Overrides Function HandleUnauthorizedAsync (context As ChallengeContext) As Task(Of Boolean)

Parâmetros

Retornos

Aplica-se a