42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using System;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace Aop.Api.Response
|
|
{
|
|
/// <summary>
|
|
/// MybankCreditUserSystemOauthQueryResponse.
|
|
/// </summary>
|
|
public class MybankCreditUserSystemOauthQueryResponse : AopResponse
|
|
{
|
|
/// <summary>
|
|
/// 访问令牌。通过该令牌调用需要授权类接口
|
|
/// </summary>
|
|
[XmlElement("access_token")]
|
|
public string AccessToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// 访问令牌的有效时间,单位是秒。
|
|
/// </summary>
|
|
[XmlElement("expires_in")]
|
|
public string ExpiresIn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 刷新令牌的有效时间,单位是秒。
|
|
/// </summary>
|
|
[XmlElement("re_expires_in")]
|
|
public string ReExpiresIn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 刷新令牌。通过该令牌可以刷新access_token
|
|
/// </summary>
|
|
[XmlElement("refresh_token")]
|
|
public string RefreshToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// 蚂蚁统一会员ID
|
|
/// </summary>
|
|
[XmlElement("user_id")]
|
|
public string UserId { get; set; }
|
|
}
|
|
}
|