aboutsummaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Responses/OidcDiscovery.cs
blob: e4d66f4b21c2f0d44814c9cf7fcbdcd4c691e2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System.Text.Json.Serialization;

namespace VPNAuth.Server.Responses;

public class OidcDiscovery
{
    [JsonPropertyName("issuer")] public string Issuer { get; set; }

    [JsonPropertyName("authorization_endpoint")]
    public string AuthorizationEndpoint { get; set; }

    [JsonPropertyName("token_endpoint")] public string TokenEndpoint { get; set; }

    [JsonPropertyName("userinfo_endpoint")]
    public string UserInfoEndpoint { get; set; }

    [JsonPropertyName("jwks_uri")] public string JwksUri { get; set; }

    [JsonPropertyName("response_types_supported")]
    public List<string> ResponseTypesSupported { get; set; }

    [JsonPropertyName("subject_types_supported")]
    public List<string> SubjectTypesSupported { get; set; }

    [JsonPropertyName("id_token_signing_alg_values_supported")]
    public List<string> IdTokenSigningAlgValuesSupported { get; set; }
}