Compartir a través de


IJwtBearerEvents.AuthenticationFailed(AuthenticationFailedContext) Método

Definición

Se invoca si se inician excepciones durante el procesamiento de la solicitud. Las excepciones volverán a iniciarse después de este evento, a menos que se suprima.

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

Parámetros

Devoluciones

Se aplica a