Initial release

This commit is contained in:
x3rt
2023-04-26 18:19:56 -06:00
commit d946bdc47c
16 changed files with 1027 additions and 0 deletions

16
Entities/OAuthToken.cs Normal file
View File

@@ -0,0 +1,16 @@
using Newtonsoft.Json;
namespace x3rt.DiscordOAuth2.Entities;
public class OAuthToken
{
[JsonProperty("access_token")] public string AccessToken { get; set; }
[JsonProperty("expires_in")] public int ExpiresIn { get; set; }
[JsonProperty("refresh_token")] public string RefreshToken { get; set; }
[JsonProperty("scope")] public string Scope { get; set; }
[JsonProperty("token_type")] public string TokenType { get; set; }
}