IJwtBearerEvents.TokenValidated(TokenValidatedContext) 方法

定义

在安全令牌已通过验证并生成 ClaimsIdentity 后调用。

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

参数

返回

适用于