Class OAuthToken

OAuthToken class

Contains OAuth token data such like token value, token type, expiration date.

public class OAuthToken

Constructors

NameDescription
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

NameDescription
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

NameDescription
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