|
|
using DWSIM.Simulate365.Enums; |
|
|
using Newtonsoft.Json; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Linq; |
|
|
using System.Text; |
|
|
using System.Threading.Tasks; |
|
|
|
|
|
namespace DWSIM.Simulate365.Models |
|
|
{ |
|
|
public class OAuthTokenResponse |
|
|
{ |
|
|
[JsonProperty("access_token")] |
|
|
public string AccessToken { get; set; } |
|
|
|
|
|
public AccessTokenType AccessTokenType { get; set; } |
|
|
|
|
|
[JsonProperty("token_type")] |
|
|
public string TokenType { get; set; } |
|
|
|
|
|
[JsonProperty("expires_in")] |
|
|
public int ExpiresIn { get; set; } |
|
|
|
|
|
[JsonProperty("scope")] |
|
|
public string Scope { get; set; } |
|
|
|
|
|
[JsonProperty("refresh_token")] |
|
|
public string RefreshToken { get; set; } |
|
|
} |
|
|
} |
|
|
|