X509SecurityTokenProvider.GetTokenCore(TimeSpan) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用建構子中指定的 X.509 憑證取得安全令牌。
protected:
override System::IdentityModel::Tokens::SecurityToken ^ GetTokenCore(TimeSpan timeout);
protected override System.IdentityModel.Tokens.SecurityToken GetTokenCore(TimeSpan timeout);
override this.GetTokenCore : TimeSpan -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function GetTokenCore (timeout As TimeSpan) As SecurityToken
參數
傳回
SecurityToken那代表要取得的安全令牌。
備註
當用戶端發送 SOAP 訊息且GetToken需要安全權杖時,類別會呼叫ClientCredentials此X509SecurityToken方法。
方法呼叫 GetToken 該 GetTokenCore 方法。