Files
xIdentityModels/Dtos/XDiscoveryDocumentDto.cs
2024-01-25 04:42:47 +03:30

83 lines
2.9 KiB
C#

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<string> ScopesSupported { get; set; }
[JsonProperty ("claims_supported")]
public List<string> ClaimsSupported { get; set; }
[JsonProperty ("grant_types_supported")]
public List<string> GrantTypesSupported { get; set; }
[JsonProperty ("response_types_supported")]
public List<string> ResponseTypesSupported { get; set; }
[JsonProperty ("response_modes_supported")]
public List<string> ResponseModesSupported { get; set; }
[JsonProperty ("token_endpoint_auth_methods_supported")]
public List<string> TokenEndpointAuthMethodsSupported { get; set; }
[JsonProperty ("id_token_signing_alg_values_supported")]
public List<string> IdTokenSigningAlgValuesSupported { get; set; }
[JsonProperty ("subject_types_supported")]
public List<string> SubjectTypesSupported { get; set; }
[JsonProperty ("code_challenge_methods_supported")]
public List<string> CodeChallengeMethodsSupported { get; set; }
[JsonProperty ("request_parameter_supported")]
public bool RequestParameterSupported { get; set; }
[JsonProperty ("account_api")]
public string AccountApi { get; set; }
}
}