using Newtonsoft.Json;
namespace eSuite.API.SingleSignOn;
///
/// Used to convert an OpenId response Json to a class
///
public class OpenIdResponse
{
///
/// Access token
///
[JsonProperty("access_token")]
public string AccessToken { get; set; } = string.Empty;
///
/// how long until this class's content expires
///
[JsonProperty("expires_in")]
public int ExpiresIn { get; set; }
///
/// scope of the authorisation given by the access token
///
[JsonProperty("scope")]
public string Scope { get; set; } = string.Empty;
///
/// Token type
///
[JsonProperty("token_type")]
public string TokenType { get; set; } = string.Empty;
///
/// id token
///
[JsonProperty("id_token")]
public string IdToken { get; set; } = string.Empty;
}