iotgateway/WalkingTec.Mvvm/WalkingTec.Mvvm.Mvc/Auth/JwtAuth/Token.cs
2021-12-14 14:10:44 +08:00

21 lines
472 B
C#

using System.Text.Json.Serialization;
namespace WalkingTec.Mvvm.Mvc.Auth
{
public class Token
{
[JsonPropertyName("access_token")]
public string AccessToken { get; set; }
[JsonPropertyName("expires_in")]
public int ExpiresIn { get; set; }
[JsonPropertyName("token_type")]
public string TokenType { get; set; }
[JsonPropertyName("refresh_token")]
public string RefreshToken { get; set; }
}
}