Files
juipnet/Infrastructure/ServiceClient/Alipay.AopSdk.Core/Domain/KoubeiMemberDataOauthQueryModel.cs

30 lines
1.1 KiB
C#
Raw Normal View History

2020-10-07 20:25:03 +08:00
using System;
using Newtonsoft.Json;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// KoubeiMemberDataOauthQueryModel Data Structure.
/// </summary>
[Serializable]
public class KoubeiMemberDataOauthQueryModel : AopObject
{
/// <summary>
/// 授权业务类型目前统一只有pay_member
/// </summary>
[JsonProperty("auth_type")]
public string AuthType { get; set; }
/// <summary>
/// 授权码用于换取授权信息如操作人id等.获取方式:跳转isv地址中会带有此code参数。auth_code一次有效auth_code有效期为3分钟到24小时开放平台规则会根据具体的业务场景动态调整auth_code的有效期但是不会低于3分钟同时也不会超过24小时超过有效期的auth_code即使未使用也将无法使用。用户的每次授权动作都会生成一个新的auth_code。
/// </summary>
[JsonProperty("code")]
public string Code { get; set; }
/// <summary>
/// 扩展参数,目前保留未用,开发者请忽略此参数
/// </summary>
[JsonProperty("ext_info")]
public string ExtInfo { get; set; }
}
}