mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-27 10:15:50 +08:00
18 lines
787 B
C#
18 lines
787 B
C#
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace BetterGenshinImpact.Service.Model.Oauth
|
|
{
|
|
public class OauthTokenResponse
|
|
{
|
|
[JsonProperty("access_token")] public string AccessToken { get; set; } = string.Empty;
|
|
[JsonProperty("token_type")] public string TokenType { get; set; } = string.Empty;
|
|
[JsonProperty("refresh_token")] public string RefreshToken { get; set; } = string.Empty;
|
|
[JsonProperty("expires_in")] public int ExpiresIn { get; set; }
|
|
[JsonProperty("scope")] public string Scope { get; set; } = string.Empty;
|
|
[JsonProperty("jti")] public string Jti { get; set; } = string.Empty;
|
|
[JsonExtensionData] public IDictionary<string, JToken>? Extra { get; set; }
|
|
}
|
|
}
|