Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Response/AlipayOpenAuthTokenAppResponse.cs
“wanyongkang” ed3b2c653e 接口文件
2024-04-10 13:55:27 +08:00

46 lines
1.1 KiB
C#

using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayOpenAuthTokenAppResponse.
/// </summary>
public class AlipayOpenAuthTokenAppResponse : AopResponse
{
/// <summary>
/// 应用授权令牌
/// </summary>
[JsonProperty("app_auth_token")]
public string AppAuthToken { get; set; }
/// <summary>
/// 刷新令牌
/// </summary>
[JsonProperty("app_refresh_token")]
public string AppRefreshToken { get; set; }
/// <summary>
/// 授权商户的appid
/// </summary>
[JsonProperty("auth_app_id")]
public string AuthAppId { get; set; }
/// <summary>
/// 应用授权令牌的有效时间(从接口调用时间作为起始时间),单位到秒
/// </summary>
[JsonProperty("expires_in")]
public string ExpiresIn { get; set; }
/// <summary>
/// 刷新令牌的有效时间(从接口调用时间作为起始时间),单位到秒
/// </summary>
[JsonProperty("re_expires_in")]
public string ReExpiresIn { get; set; }
/// <summary>
/// 授权商户的user_id
/// </summary>
[JsonProperty("user_id")]
public string UserId { get; set; }
}
}