C# Класс Imgur.API.Models.Impl.OAuth2Token

The response from an OAuth2 Token request.
Наследование: IOAuth2Token
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
OAuth2Token ( string accessToken, string refreshToken, string tokenType, string accountId, string accountUsername, int expiresIn ) : System

Initializes a new instance of the OAuth2Token class.

Описание методов

OAuth2Token() публичный Метод

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.
Результат System