Class OAuthToken
OAuthToken class
Contains OAuth token data such like token value, token type, expiration date.
Constructors
| Name | Description |
|---|
| OAuthToken(string) | Initializes a new instance of the OAuthToken class |
| OAuthToken(string, DateTime) | Initializes a new instance of the OAuthToken class |
| OAuthToken(string, TokenType, DateTime) | Initializes a new instance of the OAuthToken class |
Properties
| Name | Description |
|---|
| ExpirationDate { get; } | Gets expiration date of the token. |
| Expired { get; } | Indicates whether token is expired |
| Token { get; } | Gets token value |
| TokenType { get; } | Gets OAuth token type |
Methods
| Name | Description |
|---|
| override Equals(object) | Determines whether the specified object is equal to the current object. |
| override GetHashCode() | Serves as a hash function for a particular type. |
| override ToString() | Returns a string that represents the current object. |
See Also