blob: 9fbcc8956a7b767b8baf57d38f4c61795cd84b0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System.Text.Json.Serialization;
namespace VPNAuth.Server.Responses;
public class UserInfo
{
[JsonPropertyName("sub")] public string? Sub { get; set; }
[JsonPropertyName("name")] public string? Name { get; set; }
[JsonPropertyName("given_name")] public string? GivenName { get; set; }
[JsonPropertyName("family_name")] public string? FamilyName { get; set; }
[JsonPropertyName("preferred_username")]
public string? PreferredUsername { get; set; }
[JsonPropertyName("email")] public string? Email { get; set; }
[JsonPropertyName("picture")] public string? Picture { get; set; }
}
|