using System.Text.Json.Serialization; namespace Infrastructure.Kyc.Nice.Dto; /// /// POST /ido/intc/v1.0/auth/token 응답. 가이드 §2-1. /// 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; } /// 토큰 만료 epoch milliseconds. [JsonPropertyName("expires_in")] public long ExpiresIn { get; set; } [JsonPropertyName("token_type")] public string? TokenType { get; set; } /// PBKDF2 iteration count. [JsonPropertyName("iterators")] public int Iterators { get; set; } /// PBKDF2 password. [JsonPropertyName("ticket")] public string? Ticket { get; set; } }