IOpenIdConnectEvents.AuthenticationFailed(AuthenticationFailedContext) 方法

定义

在处理请求期间引发异常时调用。 在发生此事件后将重新引发异常,除非已抑制这些异常。

public:
 System::Threading::Tasks::Task ^ AuthenticationFailed(Microsoft::AspNetCore::Authentication::OpenIdConnect::AuthenticationFailedContext ^ context);
public System.Threading.Tasks.Task AuthenticationFailed (Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext context);
abstract member AuthenticationFailed : Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext -> System.Threading.Tasks.Task
Public Function AuthenticationFailed (context As AuthenticationFailedContext) As Task

参数

返回

适用于