using Newtonsoft.Json;
namespace eSuite.API.SingleSignOn;
///
/// class used to deserialise the OpenId configuration Json
///
public class OpenIdConfiguration
{
///
/// issuer of the tokens
///
[JsonProperty("issuer")]
public string Issuer { get; set; } = string.Empty;
///
/// endpoint to use for authorisation requests
///
[JsonProperty("authorization_endpoint")]
public string AuthorizationEndpoint { get; set; } = string.Empty;
///
/// uri for the jwks signatures used to verify JWT's.
///
[JsonProperty("jwks_uri")]
public string JwksUri { get; set; } = string.Empty;
//There are other members which are not current implemented in this class as I've not needed them.
//response_types_supported": [ "id_token", "token id_token" ],
//"subject_types_supported": [ "pairwise" ],
//"id_token_signing_alg_values_supported": [ "RS256" ],
//"claims_supported": [ "iss", ...]
}