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

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

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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.
Résultat System