Compartir a través de


OpenIdConnectHandler.HandleUnauthorizedAsync(ChallengeContext) Método

Definición

Responde a un desafío 401. Envía un mensaje OpenIdConnect a la "entidad de identidad" para obtener una identidad.

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

Devoluciones

Se aplica a