Class OAuthToken
- Namespace
- StockSharp.ETrade
- Assembly
- StockSharp.ETrade.dll
Token. Uses in OAuth 1.0a.
public class OAuthToken
- Inheritance
-
OAuthToken
- Inherited Members
- Extension Methods
Constructors
OAuthToken(string, string, string)
Initializes a new instance of the OAuthToken.
public OAuthToken(string consumerKey, string token, string secret)
Parameters
Properties
ConsumerKey
Consumer key.
public string ConsumerKey { get; }
Property Value
Secret
Secret.
public string Secret { get; }
Property Value
Token
Token.
public string Token { get; }
Property Value
Methods
Deserialize(string)
Deserialize the token.
public static OAuthToken Deserialize(string serialized)
Parameters
serialized
stringSerialized as string the token.
Returns
- OAuthToken
Token.
Serialize()
Serialize the token.
public string Serialize()
Returns
- string
Serialized as string the token.