iotgateway/WalkingTec.Mvvm/WalkingTec.Mvvm.Mvc/Auth/JwtAuth/Token.cs

21 lines
472 B
C#
Raw Normal View History

2021-12-14 06:10:44 +00:00
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; }
}
}