Share via


SecurityTokenHandler.TraceTokenValidationSuccess(SecurityToken) 方法

定義

當啟用追蹤時,追蹤安全性權杖驗證成功事件。

protected:
 void TraceTokenValidationSuccess(System::IdentityModel::Tokens::SecurityToken ^ token);
protected void TraceTokenValidationSuccess (System.IdentityModel.Tokens.SecurityToken token);
member this.TraceTokenValidationSuccess : System.IdentityModel.Tokens.SecurityToken -> unit
Protected Sub TraceTokenValidationSuccess (token As SecurityToken)

參數

token
SecurityToken

已驗證的權杖。

備註

成功驗證令牌之後,應該從 ValidateToken 方法呼叫這個方法。

適用於