mirror of
https://github.com/yawaflua/Discord.Net.git
synced 2025-12-09 03:49:36 +02:00
16 lines
486 B
C#
16 lines
486 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace yawaflua.Discord.Net.Entities;
|
|
|
|
public class TokenDto
|
|
{
|
|
[JsonPropertyName("access_token")] public string AccessToken { get; set; }
|
|
|
|
[JsonPropertyName("expires_in")] public int ExpiresIn { get; set; }
|
|
|
|
[JsonPropertyName("refresh_token")] public string RefreshToken { get; set; }
|
|
|
|
[JsonPropertyName("scope")] public string Scope { get; set; }
|
|
|
|
[JsonPropertyName("token_type")] public string TokenType { get; set; }
|
|
} |