Sdílet prostřednictvím


JwtBearerEvents.Forbidden(ForbiddenContext) Metoda

Definice

Vyvolá se, pokud autorizace selže a výsledkem je odpověď Zakázáno.

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

Parametry

Návraty

Platí pro