119 lines
8.1 KiB
C#
119 lines
8.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BSOneMip
|
|
{
|
|
|
|
// 인증된 계정 테넌트 정보
|
|
// HKEY_CURRENT_USER\SOFTWARE\Microsoft\IdentityCRL\TokenBroker\DefaultAccount
|
|
// 예 : u:d8e27a25-fa3b-4f68-8773-c0bc5d68638c.a27ddcc1-bea5-4183-aa29-fd96d7612a1d
|
|
|
|
// 아래 키의 하위키, 값 정보가 인증 변경 시 변경 되는거 같음...
|
|
// HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\Identity\ServiceAuthInfoCache
|
|
|
|
internal class Define
|
|
{
|
|
public static readonly string APP_NAME = "ToCSG-BSOne";
|
|
public static readonly string APP_VER = "1.0";
|
|
public static readonly string REDIRECT_URL = "https://login.microsoftonline.com/common/oauth2/nativeclient";
|
|
|
|
#if _HDENG_
|
|
// DEV
|
|
//public static readonly string APP_ID = "75881f51-22ca-4217-b66f-70b9b1522707";
|
|
//public static readonly string TENANT_ID = "654693fb-be52-4135-af55-739adbc92144";
|
|
//public static readonly string APPSECU_ID = "8d2682bd-a9bf-4ac3-bb93-e5a488eeea47"; // 2023-07-17
|
|
//public static readonly string APPSECU_VAL = "a.58Q~-BVJFo4z-d-IuMkzQMjKuAUXXDdcK2JbTs";
|
|
|
|
// HEC - OP, 만료일 : 2025-07-17 (예상)
|
|
//public static readonly string APP_ID = "1ea54ecc-b3d1-4892-8c27-57418e667fdb";
|
|
//public static readonly string TENANT_ID = "a27ddcc1-bea5-4183-aa29-fd96d7612a1d";
|
|
//public static readonly string APPSECU_ID = "c633a238-e3fa-4c3a-a133-7d88fdccbb7c";
|
|
//public static readonly string APPSECU_VAL = "2T18Q~bQ_IWsEe7DPS~3B3zKjR1FvyG9jF1kJbTN";
|
|
|
|
// 기존 암호/비밀ID 값 만료일: 2025.09.03
|
|
// HEC - OP, 키 설명: BSOne-EncKey, 만료일: 2027-05-29
|
|
public static readonly string APP_ID = "1ea54ecc-b3d1-4892-8c27-57418e667fdb";
|
|
public static readonly string TENANT_ID = "a27ddcc1-bea5-4183-aa29-fd96d7612a1d";
|
|
public static readonly string APPSECU_ID = "1ccf4dc5-a57d-4712-adec-8001140bb7f8"; // 2027-05-29
|
|
public static readonly string APPSECU_VAL = "_F.8Q~M_IqYUnWdTRGF7cor1KRR85Tqa6tq-haDr";
|
|
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@hec.co.kr";
|
|
#elif _HCA_
|
|
public static readonly string APP_ID = "e9dc4b6c-8c8f-4133-b0e4-86a8c0fa7509";
|
|
public static readonly string TENANT_ID = "54c9f638-105a-4d83-8b7e-f5ea3ed1986f";
|
|
public static readonly string APPSECU_ID = "3ca327fa-698a-4b4a-80ee-a027dd8d83f6"; // 2024-11-15
|
|
public static readonly string APPSECU_VAL = "Ucb8Q~YFkRT5_Ezy4nosG9WZUw1Xj9jdIOdCdaUs";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@hkmc10.onmcirosoft.com";
|
|
|
|
//public static readonly string APP_ID = "29fdd0e7-2218-4997-96b8-e786cca199ea";
|
|
//public static readonly string TENANT_ID = "458bd810-54c3-4de9-8807-d9555e217e9b";
|
|
//public static readonly string APPSECU_ID = "08cc1dd1-4ea7-46fd-a9d0-310876d1f957";
|
|
//public static readonly string APPSECU_VAL = "mZp8Q~PMqxLdPSh0tlMkZLs.HX~xxp4jNEXGddbY";
|
|
//public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@hmccloud10.onmicrosoft.com";
|
|
#elif _HAE_
|
|
public static readonly string APP_ID = "71fb6bea-8c43-44ba-94ad-d28e9416da3b";
|
|
public static readonly string TENANT_ID = "c3009ee9-85dd-4ecf-a86f-79941767d706";
|
|
public static readonly string APPSECU_ID = "9cbb412a-4535-432d-9a85-527bbdefe7de";
|
|
public static readonly string APPSECU_VAL = "NAI8Q~_FSGRdrOHV8.KcQJ.ThWRhrOSGsqZcva8r";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@hyundai-autoever.com";
|
|
#elif _JUVIS_
|
|
public static readonly string APP_ID = "12578a98-0721-4c2a-a972-6ae283be7c5e";
|
|
public static readonly string TENANT_ID = "43680acd-ee7e-4213-b458-5f6d31410fd6";
|
|
public static readonly string APPSECU_ID = "83da4d12-54a0-4338-9556-2115f5f7a711"; // 2024-02-05
|
|
public static readonly string APPSECU_VAL = "1TE8Q~tHdMmTLZd1RZ2pH1pM81EYn9gFJwhBeajt";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@juvis.co.kr";
|
|
#elif _UNITUS_
|
|
public static readonly string APP_ID = "3cbc5216-b53c-4684-8314-a09832a0470b";
|
|
public static readonly string TENANT_ID = "e78533f2-de02-4a1f-9a30-afff5b5505f2";
|
|
public static readonly string APPSECU_ID = "3d0a832f-5736-48ae-9f42-8d33d84fdfa7"; // 2024-11-08
|
|
public static readonly string APPSECU_VAL = "jIN8Q~sa1USPuvjibMiZl9scD6~cBPTHfoHB_aEI";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@unitus.co.kr";
|
|
#elif _MOTRAS_
|
|
public static readonly string APP_ID = "1fb1e032-2b4c-4d7d-90cc-18370121e3b9";
|
|
public static readonly string TENANT_ID = "b4f65b7e-df81-4527-84be-6552f2220b70";
|
|
public static readonly string APPSECU_ID = "d2b249eb-5297-4bae-8e84-2049508de393"; // 2024-11-11
|
|
public static readonly string APPSECU_VAL = "Gwt8Q~mxethV1.2w.lKbm7W4_x0IGOco7K_FAc8s";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@motras.co.kr";
|
|
#elif _KDNVN_
|
|
public static readonly string APP_ID = "f8ff02a8-67b7-4394-9f0c-964a4c5161a1";
|
|
public static readonly string TENANT_ID = "7fa15276-5814-4556-87ee-2f791ec559c2";
|
|
public static readonly string APPSECU_ID = "a08a5abc-7cc6-4f63-b3e7-9857ae79a896"; // 2024-11-06
|
|
public static readonly string APPSECU_VAL = "Fyl8Q~_sTnnrxeFYVuF.ZM9Fpm-QwOcmoRc3~anv";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@kdiwin.com";
|
|
#elif _CJOV_GLOBAL_
|
|
public static readonly string APP_ID = "57c08dc7-b56f-424f-9f43-bc7e25de872c";
|
|
public static readonly string TENANT_ID = "ee6af5c5-684f-4539-9eb6-64793af08027";
|
|
public static readonly string APPSECU_ID = "32491836-401f-492e-9596-d37d73b926da"; // 2024-11-28
|
|
public static readonly string APPSECU_VAL = "BY88Q~P1kfcsIA2OMpV0jDzmNf_7V2gGleI-wag8";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@cj.net";
|
|
#elif _SKEC_
|
|
public static readonly string APP_ID = "361ffe36-7592-4247-b13f-1688440dcffe";
|
|
public static readonly string TENANT_ID = "43d7489c-57ce-4967-b332-b53a94d66806";
|
|
public static readonly string APPSECU_ID = "9692a153-b95a-4071-8753-0cb29c48c29a"; // 2025-07-30 ~ 만료일 2027.07.30
|
|
public static readonly string APPSECU_VAL = "e5H8Q~Iy_9w6UQfJ2TBnnaS.gqq9WNoFOMBEIdeH";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@skec.com";
|
|
#elif _WHANIN_
|
|
public static readonly string APP_ID = "3be6cd5c-e1c0-44e4-a664-d4879a3e6efe";
|
|
public static readonly string TENANT_ID = "a2f2a594-d6d7-423d-844e-a0365e16e441";
|
|
public static readonly string APPSECU_ID = "0b883d75-13eb-4005-ad38-c8b98bc8a658"; // 2025-11-06 ~ 만료일 2027-11-06
|
|
public static readonly string APPSECU_VAL = "ODy8Q~xSfOOAfyw04wFwYqf1n7kmocqUsJhT_a.P";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@whanin.com";
|
|
#else
|
|
public static readonly string APP_ID = "f46b44f7-ef21-443d-8d30-cb1b6998204f";
|
|
public static readonly string TENANT_ID = "ae3cc733-f6a2-4bb8-b7f2-3166de909f4d";
|
|
public static readonly string APPSECU_ID = "af617123-365f-42ef-8d30-75dea6c80fb2";
|
|
public static readonly string APPSECU_VAL = "WuO8Q~4Y9OGJuLrKk3yaV~Wu_2CureYTLnxLwc2O";
|
|
public static readonly string USER_ANYONE = "AllStaff-7184AB3F-CCD1-46F3-8233-3E09E9CF0E66@tocsgm365.onmicrosoft.com";
|
|
|
|
//old
|
|
//public static readonly string APP_ID = "9ad412fe-e47b-43cc-93dc-9844c9b1cc0b";
|
|
//public static readonly string TENANT_ID = "461c81ec-bcc4-4ebe-a37f-2d9a82c9e560";
|
|
//public static readonly string APPSECU_ID = "0c8a4e4b-adb8-4a20-9329-c79b13563c90";
|
|
//public static readonly string APPSECU_VAL = "LAX8Q~owiSpc1hDqTRacZlU.OxABtlV796QPGcif";
|
|
#endif
|
|
}
|
|
}
|