aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs')
-rw-r--r--src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs95
1 files changed, 47 insertions, 48 deletions
diff --git a/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs b/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs
index b870ddb..44ab083 100644
--- a/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs
+++ b/src/IOL.VippsEcommerce/Models/Api/VippsAuthorizationTokenResponse.cs
@@ -1,58 +1,57 @@
using System.Text.Json.Serialization;
-namespace IOL.VippsEcommerce.Models.Api
+namespace IOL.VippsEcommerce.Models.Api;
+
+/// <summary>
+/// AuthorizationTokenResponse
+/// </summary>
+public class VippsAuthorizationTokenResponse
{
- /// <summary>
- /// AuthorizationTokenResponse
- /// </summary>
- public class VippsAuthorizationTokenResponse
- {
- /// <summary>
- /// String containing the type for the Access Token.
- /// </summary>
- /// <value>String containing the type for the Access Token.</value>
- [JsonPropertyName("token_type")]
- public string TokenType { get; set; }
+ /// <summary>
+ /// String containing the type for the Access Token.
+ /// </summary>
+ /// <value>String containing the type for the Access Token.</value>
+ [JsonPropertyName("token_type")]
+ public string TokenType { get; set; }
- /// <summary>
- /// Token expiry time in seconds.
- /// </summary>
- /// <value>Token expiry time in seconds.</value>
- [JsonPropertyName("expires_in")]
- public string ExpiresIn { get; set; }
+ /// <summary>
+ /// Token expiry time in seconds.
+ /// </summary>
+ /// <value>Token expiry time in seconds.</value>
+ [JsonPropertyName("expires_in")]
+ public string ExpiresIn { get; set; }
- /// <summary>
- /// Extra time added to expiry time. Currently disabled.
- /// </summary>
- /// <value>Extra time added to expiry time. Currently disabled.</value>
- [JsonPropertyName("ext_expires_in")]
- public string ExtExpiresIn { get; set; }
+ /// <summary>
+ /// Extra time added to expiry time. Currently disabled.
+ /// </summary>
+ /// <value>Extra time added to expiry time. Currently disabled.</value>
+ [JsonPropertyName("ext_expires_in")]
+ public string ExtExpiresIn { get; set; }
- /// <summary>
- /// Token expiry time in epoch time format.
- /// </summary>
- /// <value>Token expiry time in epoch time format.</value>
- [JsonPropertyName("expires_on")]
- public string ExpiresOn { get; set; }
+ /// <summary>
+ /// Token expiry time in epoch time format.
+ /// </summary>
+ /// <value>Token expiry time in epoch time format.</value>
+ [JsonPropertyName("expires_on")]
+ public string ExpiresOn { get; set; }
- /// <summary>
- /// Token creation time in epoch time format.
- /// </summary>
- /// <value>Token creation time in epoch time format.</value>
- [JsonPropertyName("not_before")]
- public string NotBefore { get; set; }
+ /// <summary>
+ /// Token creation time in epoch time format.
+ /// </summary>
+ /// <value>Token creation time in epoch time format.</value>
+ [JsonPropertyName("not_before")]
+ public string NotBefore { get; set; }
- /// <summary>
- /// A common resource object. Not used in token validation
- /// </summary>
- /// <value>A common resource object. Not used in token validation</value>
- [JsonPropertyName("resource")]
- public string Resource { get; set; }
+ /// <summary>
+ /// A common resource object. Not used in token validation
+ /// </summary>
+ /// <value>A common resource object. Not used in token validation</value>
+ [JsonPropertyName("resource")]
+ public string Resource { get; set; }
- /// <summary>
- /// Gets or Sets AccessToken
- /// </summary>
- [JsonPropertyName("access_token")]
- public string AccessToken { get; set; }
- }
+ /// <summary>
+ /// Gets or Sets AccessToken
+ /// </summary>
+ [JsonPropertyName("access_token")]
+ public string AccessToken { get; set; }
} \ No newline at end of file