aboutsummaryrefslogtreecommitdiff
path: root/Libs/VNLib.Plugins.Essentials.Sessions.OAuth/OauthTokenResponseMessage.cs
blob: c80891e09d40f7871c796242c9bcf54f2deb65a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System.Text.Json.Serialization;

#nullable enable

namespace VNLib.Plugins.Essentials.Sessions.OAuth
{
    public sealed class OauthTokenResponseMessage
    {
        [JsonPropertyName("access_token")]
        public string? AccessToken { get; set; }
        [JsonPropertyName("refresh_token")]
        public string? RefreshToken { get; set; }
        [JsonPropertyName("token_type")]
        public string? TokenType { get; set; }
        [JsonPropertyName("expires_in")]
        public int Expires { get; set; }
        [JsonPropertyName("id_token")]
        public string? IdToken { get; set; }
    }
}