OpenIdConnectHandler.HandleUnauthorizedAsync(ChallengeContext) 方法

定义

响应 401 挑战。 将 OpenIdConnect 消息发送到“标识机构”以获取标识。

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)

参数

返回

适用于