Bagikan melalui


OpenIdConnectHandler.HandleUnauthorizedAsync(ChallengeContext) Metode

Definisi

Merespons Tantangan 401. Mengirim pesan OpenIdConnect ke 'otoritas identitas' untuk mendapatkan identitas.

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)

Parameter

Mengembalikan

Berlaku untuk