260918_02_ENH: 인증 정보에 id와 팀 추가

This commit is contained in:
2026-09-18 10:10:08 +09:00
parent b7ec1aee80
commit 6d7ff4b180
2 changed files with 10 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ namespace KART_API.Controllers
Security security = new Security();
string token = security.GenerateToken(userID, userName, userTeam, isAdmin);
Authentication authentication = new Authentication(token, userName, isAdmin);
Authentication authentication = new Authentication(token, userID, userTeam, userName, isAdmin);
returnString = Common.GetJsonFromObject(authentication);
Response.StatusCode = (int)HttpStatusCode.OK;
@@ -144,7 +144,7 @@ namespace KART_API.Controllers
string tempID = externalParam.External + "_" + Common.GetRandomString();
string token = security.GenerateToken(tempID, externalParam.External, externalParam.External, "9");
Authentication authentication = new Authentication(token, externalParam.External, "9");
Authentication authentication = new Authentication(token, tempID, externalParam.External, externalParam.External, "9");
returnString = Common.GetJsonFromObject(authentication);
Response.StatusCode = (int)HttpStatusCode.OK;