Compartir a través de


JwtBearerEvents.Forbidden(ForbiddenContext) Método

Definición

Se invoca si se produce un error en la autorización y se produce una respuesta Prohibida.

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

Parámetros

Devoluciones

Se aplica a