Sdílet prostřednictvím


JwtBearerEvents.AuthenticationFailed(AuthenticationFailedContext) Metoda

Definice

Vyvolá se, pokud během zpracování požadavku dojde k výjimkám. Výjimky budou znovu vyvolána po této události, pokud nejsou potlačeny.

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

Parametry

Návraty

Implementuje

Platí pro