using System.Text.Json.Serialization;
namespace IOL.VippsEcommerce.Models.Api
{
///
/// AuthorizationTokenResponse
///
public class VippsAuthorizationTokenResponse
{
///
/// String containing the type for the Access Token.
///
/// String containing the type for the Access Token.
[JsonPropertyName("token_type")]
public string TokenType { get; set; }
///
/// Token expiry time in seconds.
///
/// Token expiry time in seconds.
[JsonPropertyName("expires_in")]
public string ExpiresIn { get; set; }
///
/// Extra time added to expiry time. Currently disabled.
///
/// Extra time added to expiry time. Currently disabled.
[JsonPropertyName("ext_expires_in")]
public string ExtExpiresIn { get; set; }
///
/// Token expiry time in epoch time format.
///
/// Token expiry time in epoch time format.
[JsonPropertyName("expires_on")]
public string ExpiresOn { get; set; }
///
/// Token creation time in epoch time format.
///
/// Token creation time in epoch time format.
[JsonPropertyName("not_before")]
public string NotBefore { get; set; }
///
/// A common resource object. Not used in token validation
///
/// A common resource object. Not used in token validation
[JsonPropertyName("resource")]
public string Resource { get; set; }
///
/// Gets or Sets AccessToken
///
[JsonPropertyName("access_token")]
public string AccessToken { get; set; }
}
}