C# Class Imgur.API.Models.Impl.OAuth2Token

The response from an OAuth2 Token request.
Inheritance: IOAuth2Token
Mostra file Open project: DamienDennehy/Imgur.API Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
OAuth2Token ( string accessToken, string refreshToken, string tokenType, string accountId, string accountUsername, int expiresIn ) : System

Initializes a new instance of the OAuth2Token class.

Method Details

OAuth2Token() public method

Initializes a new instance of the OAuth2Token class.
public OAuth2Token ( string accessToken, string refreshToken, string tokenType, string accountId, string accountUsername, int expiresIn ) : System
accessToken string The access token.
refreshToken string The refresh token.
tokenType string The type of token, typically "Bearer".
accountId string The account id.
accountUsername string The account username.
expiresIn int The time in seconds when the token expires. Usually one month from the request.
return System