Język

X509SecurityTokenProvider.GetTokenCore(TimeSpan) Metoda

Definicja

Pobiera token zabezpieczający przy użyciu certyfikatu X.509 określonego w konstruktorze.

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

Parametry

timeout
TimeSpan

Element TimeSpan określający wartość limitu czasu dla komunikatu, który pobiera token zabezpieczający.

Zwraca

Element SecurityToken reprezentujący token zabezpieczający, który ma być pobierany.

Uwagi

Metoda GetToken jest wywoływana przez klasę ClientCredentials , gdy klient wysyła komunikat PROTOKOŁU SOAP, a X509SecurityToken token zabezpieczający jest wymagany.

Metoda GetToken wywołuje metodę GetTokenCore .

Dotyczy