Sdílet prostřednictvím


IJwtBearerEvents.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:
 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

Parametry

Návraty

Platí pro