JwtBearerEvents.Forbidden(ForbiddenContext) Método

Definição

Invocado se a autorização falhar e resultar em uma resposta Proibida

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

Retornos

Aplica-se a