Partilhar via


JwtBearerEvents.TokenValidated(TokenValidatedContext) Método

Definição

É invocado depois que o token de segurança tiver passado na validação e uma ClaimsIdentity tiver sido gerada.

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

Parâmetros

Retornos

Implementações

Aplica-se a