인증

 

cookie..

세션..

인증 과정.. ?

 

토큰 발행 & 토큰 인증

GET {{protocol}}://{{hostname}}:{{port}}/auth/mng/jwt

{     "result": "200",     "resultMessage": "SUCCESS",     "item": {         "code": "unsigned",         "role": [             "anonymous"         ],         "lastAccessTime": 1603361554545,         "sessionKey": "S0bmY-SFqgXXI0QhCcHo0qkcgKLrjDdiwojqFw5CC_mPPV4ai8KJN08V-ma9y7OYCSvZQ4XCpAR2wqJQF4jJ5w",         "contextPath": "mng",         "siteId": null,         "projectId": "dxp"     } }

 

GET {{protocol}}://{{hostname}}:{{port}}/auth/adm/jwt

{     "result": "200",     "resultMessage": "SUCCESS",     "item": {         "code": "unsigned",         "role": [             "anonymous"         ],         "lastAccessTime": 1603361571040,         "sessionKey": "ChajS7UWvDnf5AP2p8-B3QZpT7Z-E-eFnzts5UHPHkyP4HtAqkaGU5zCSb3Lm922IqzMNcWgd2MpDlPbBFmiug",         "contextPath": "adm",         "siteId": null,         "projectId": "dxp"     } }

 

GET {{protocol}}://{{hostname}}:{{port}}/auth/svc/jwt?_siteId=

{     "result": "200",     "resultMessage": "SUCCESS",     "item": {         "code": "unsigned",         "role": [             "anonymous"         ],         "lastAccessTime": 1603361581517,         "sessionKey": "7Vs6jOlWsQ-87iXm8jxbda63mMhtS5J6ugUUrZ2SrA9rzr_ojNgZLTZ7RTr59tWU2ulN_Nwj2kYZckzRjmIBhQ",         "contextPath": "svc",         "siteId": "bestshop",         "projectId": "dxp"     } }

 

로그인

  • required Param : id, password

 

  • 로그인 전/후 JWT API Respons

{{protocol}}://{{hostname}}:{{port}}/auth/adm/jwt

 

API Key

open, external apiType은 API 키를 통해서 인증필요

{{protocol}}://{{hostname}}:{{port}}/api/testEvent/list

{{protocol}}://{{hostname}}:{{port}}/api/testEvent/list?apiKey=W2!GLgUu?5!c*VubLVsfVyW42t$KHt