Dela via


IJwtBearerEvents.AuthenticationFailed(AuthenticationFailedContext) Method

Definition

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

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

Parameters

Returns

Applies to