| 123456789101112131415161718192021222324252627282930313233343536 |
- using System.Text.Json.Serialization;
- namespace Infrastructure.Kyc.Nice.Dto;
- /// <summary>
- /// POST /ido/intc/v1.0/auth/token 응답. 가이드 §2-1.
- /// </summary>
- internal sealed class NiceTokenResponse
- {
- [JsonPropertyName("result_code")]
- public string? ResultCode { get; set; }
- [JsonPropertyName("result_message")]
- public string? ResultMessage { get; set; }
- [JsonPropertyName("request_no")]
- public string? RequestNo { get; set; }
- [JsonPropertyName("access_token")]
- public string? AccessToken { get; set; }
- /// <summary>토큰 만료 epoch milliseconds.</summary>
- [JsonPropertyName("expires_in")]
- public long ExpiresIn { get; set; }
- [JsonPropertyName("token_type")]
- public string? TokenType { get; set; }
- /// <summary>PBKDF2 iteration count.</summary>
- [JsonPropertyName("iterators")]
- public int Iterators { get; set; }
- /// <summary>PBKDF2 password.</summary>
- [JsonPropertyName("ticket")]
- public string? Ticket { get; set; }
- }
|