You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

67 lines
2.3 KiB

using Common.Helper;
namespace Common.KFTC
{
public class KFTCSessionToStore
{
public string user_seq_no { get; set; }
public string userConnectionInfo { get; set; }
public string loginToken { get; set; }
public string refreshToken { get; set; }
public string fintech_use_num { get; set; }
public string inquiryToken { get; set; }
public string transferToken { get; set; }
public string userName { get; set; }
}
/// <summary>
/// simulate class for user information required for kftc api
/// </summary>
public class KFTCSessionSim
{
public string Token { get; set; }
public string client_use_code { get; set; }
public string user_seq_no { get; set; }
public string userConnectionInfo { get; set; }
public string fintech_use_num { get; set; }
public string userName { get; set; }
}
/// <summary>
/// simulate class for GME-KFTC client, 이용기관정보
/// </summary>
public static class KFTC_GME
{
/* 별도 테스트 계정
public static string client_id { get { return "l7xxb0b4662b4cd448c8b3115b3d23dcaf93"; } }
public static string client_secret { get { return "677157b05ae54c998690413d362ccfab"; } }
public static string client_use_code { get { return "T990023580"; } }
*/
//public static string client_id { get { return EncryptDecryptUtility.ReadSession("client_id", ""); } }
//public static string client_secret { get { return EncryptDecryptUtility.ReadSession("client_secret", ""); } }
//public static string oob_access_token { get { return EncryptDecryptUtility.ReadSession("oob_access_token", ""); } }
//public static string oob_client_use_code { get { return EncryptDecryptUtility.ReadSession("oob_client_use_code", ""); } }
public static string client_id { get; }
public static string client_secret { get; }
public static string oob_access_token { get; }
public static string oob_client_use_code { get; }
public static string kftc_hostname { get { return ApplicationConfig.ReadWebConfig("KFTC_HOST_NAME", ""); } }
public static string callback_url { get { return ApplicationConfig.ReadWebConfig("callback_url", ""); } }
/**/
}
}