共用方式為


IOpenIdConnectEvents.TokenValidated(TokenValidatedContext) 方法

定義

在驗證 IdToken 並產生 AuthenticationTicket 時叫用。

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

參數

傳回

適用於