39 lines
903 B
C#
39 lines
903 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Yi.Framework.AiHub.Domain.Managers.Fuwuhao;
|
|
|
|
/// <summary>
|
|
/// 用户基础信息响应对象
|
|
/// </summary>
|
|
public class UserBaseInfoResponse
|
|
{
|
|
/// <summary>
|
|
/// 访问令牌
|
|
/// </summary>
|
|
[JsonPropertyName("access_token")]
|
|
public string AccessToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// 过期时间(秒)
|
|
/// </summary>
|
|
[JsonPropertyName("expires_in")]
|
|
public int ExpiresIn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 刷新令牌
|
|
/// </summary>
|
|
[JsonPropertyName("refresh_token")]
|
|
public string RefreshToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户OpenID
|
|
/// </summary>
|
|
[JsonPropertyName("openid")]
|
|
public string OpenId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 授权作用域
|
|
/// </summary>
|
|
[JsonPropertyName("scope")]
|
|
public string Scope { get; set; }
|
|
} |