Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Response/AlipayOpenAuthTokenAppQueryResponse.cs

54 lines
1.2 KiB
C#
Raw Normal View History

2024-04-10 13:55:27 +08:00
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayOpenAuthTokenAppQueryResponse.
/// </summary>
public class AlipayOpenAuthTokenAppQueryResponse : AopResponse
{
/// <summary>
/// 授权商户的appid
/// </summary>
[JsonProperty("auth_app_id")]
public string AuthAppId { get; set; }
/// <summary>
/// 授权失效时间
/// </summary>
[JsonProperty("auth_end")]
public string AuthEnd { get; set; }
/// <summary>
/// 当前app_auth_token的授权接口列表
/// </summary>
[JsonProperty("auth_methods")]
public List<string> AuthMethods { get; set; }
/// <summary>
/// 授权生效时间
/// </summary>
[JsonProperty("auth_start")]
public string AuthStart { get; set; }
/// <summary>
/// 应用授权令牌失效时间,单位到秒
/// </summary>
[JsonProperty("expires_in")]
public long ExpiresIn { get; set; }
/// <summary>
/// valid有效状态invalid无效状态
/// </summary>
[JsonProperty("status")]
public string Status { get; set; }
/// <summary>
/// 授权商户的user_id
/// </summary>
[JsonProperty("user_id")]
public string UserId { get; set; }
}
}