JwtBearerEvents.AuthenticationFailed(AuthenticationFailedContext) Method

Definition

Invoked if exceptions are thrown during request processing. The exceptions will be re-thrown after this event unless suppressed.

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

Parameters

Returns

Implements

Applies to