OAuthToken.OAuthToken

OAuthToken(string)

Initializes a new instance of the OAuthToken class

public OAuthToken(string token)
ParameterTypeDescription
tokenStringRefresh token value

See Also


OAuthToken(string, DateTime)

Initializes a new instance of the OAuthToken class

public OAuthToken(string token, DateTime expirationDate)
ParameterTypeDescription
tokenStringAccess token value
expirationDateDateTimeExpiration date of the token.

See Also


OAuthToken(string, TokenType, DateTime)

Initializes a new instance of the OAuthToken class

public OAuthToken(string token, TokenType tokenType, DateTime expirationDate)
ParameterTypeDescription
tokenStringToken value
tokenTypeTokenTypeOAuth token type
expirationDateDateTimeExpiration date of the token.

See Also