mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-12-02 11:47:52 +08:00
21 lines
472 B
C#
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; }
|
|
}
|
|
}
|