using System.Collections.Generic; using Newtonsoft.Json; namespace xIdentityModels.Dtos { public class XDiscoveryDocumentDto { [JsonProperty ("issuer")] public string Issuer { get; set; } [JsonProperty ("jwks_uri")] public string JwksUri { get; set; } [JsonProperty ("authorization_endpoint")] public string AuthorizationEndpoint { get; set; } [JsonProperty ("token_endpoint")] public string TokenEndpoint { get; set; } [JsonProperty ("userinfo_endpoint")] public string UserinfoEndpoint { get; set; } [JsonProperty ("end_session_endpoint")] public string EndSessionEndpoint { get; set; } [JsonProperty ("check_session_iframe")] public string CheckSessionIframe { get; set; } [JsonProperty ("revocation_endpoint")] public string RevocationEndpoint { get; set; } [JsonProperty ("introspection_endpoint")] public string IntrospectionEndpoint { get; set; } [JsonProperty ("device_authorization_endpoint")] public string DeviceAuthorizationEndpoint { get; set; } [JsonProperty ("frontchannel_logout_supported")] public bool FrontchannelLogoutSupported { get; set; } [JsonProperty ("frontchannel_logout_session_supported")] public bool FrontchannelLogoutSessionSupported { get; set; } [JsonProperty ("backchannel_logout_supported")] public bool BackchannelLogoutSupported { get; set; } [JsonProperty ("backchannel_logout_session_supported")] public bool BackchannelLogoutSessionSupported { get; set; } [JsonProperty ("scopes_supported")] public List ScopesSupported { get; set; } [JsonProperty ("claims_supported")] public List ClaimsSupported { get; set; } [JsonProperty ("grant_types_supported")] public List GrantTypesSupported { get; set; } [JsonProperty ("response_types_supported")] public List ResponseTypesSupported { get; set; } [JsonProperty ("response_modes_supported")] public List ResponseModesSupported { get; set; } [JsonProperty ("token_endpoint_auth_methods_supported")] public List TokenEndpointAuthMethodsSupported { get; set; } [JsonProperty ("id_token_signing_alg_values_supported")] public List IdTokenSigningAlgValuesSupported { get; set; } [JsonProperty ("subject_types_supported")] public List SubjectTypesSupported { get; set; } [JsonProperty ("code_challenge_methods_supported")] public List CodeChallengeMethodsSupported { get; set; } [JsonProperty ("request_parameter_supported")] public bool RequestParameterSupported { get; set; } [JsonProperty ("account_api")] public string AccountApi { get; set; } } }