cookie..
세션..
인증 과정.. ?
토큰 발행 & 토큰 인증
GET {{protocol}}://{{hostname}}:{{port}}/auth/mng/jwt
GET {{protocol}}://{{hostname}}:{{port}}/auth/adm/jwt
GET {{protocol}}://{{hostname}}:{{port}}/auth/svc/jwt?_siteId=
로그인
required Param : id, password
POST {{protocol}}://{{hostname}}:{{port}}/mng/signIn
POST {{protocol}}://{{hostname}}:{{port}}/adm/signIn
POST {{protocol}}://{{hostname}}:{{port}}/svc/signIn?_siteId=
로그인 전/후 jwt API Respons
{{protocol}}://{{hostname}}:{{port}}/auth/adm/jwt
{ "result": "200", "resultMessage": "SUCCESS", "item": { "code": "unsigned", "role": [ "anonymous" ], "lastAccessTime": 1603086688059, "sessionKey": "ChajS7UWvDnf5AP2p8-B3QZpT7Z-E-eFnzts5UHPHkyP4HtAqkaGU5zCSb3Lm922IqzMNcWgd2MpDlPbBFmiug", "contextPath": "adm", "siteId": null, "projectId": "dxp" } }
{ "result": "200", "resultMessage": "SUCCESS", "item": { "code": "signed", "role": [ "admin::system", "system", "role::system", "system", "adminGroup::system", "system", "admin", "anonymous" ], "lastAccessTime": 1603086697514, "sessionKey": "ChajS7UWvDnf5AP2p8-B3QZpT7Z-E-eFnzts5UHPHkyP4HtAqkaGU5zCSb3Lm922IqzMNcWgd2MpDlPbBFmiug", "contextPath": "adm", "admin": { "id": "system", }, "userId": "admin::system", "securityAgreement": false, "siteId": null, "userType": "admin", "userRole": "system", "projectId": "dxp" } }
API Key
open, external apiType은 API 키를 통해서 인증필요
{{protocol}}://{{hostname}}:{{port}}/api/testEvent/list
{ "timestamp": "2020-10-20T02:45:39.969+0000", "status": 400, "error": "Bad Request", "message": "Required String parameter 'apiKey' is not present", "path": "/api/testEvent/list" }
{{protocol}}://{{hostname}}:{{port}}/api/testEvent/list?apiKey=W2!GLgUu?5!c*VubLVsfVyW42t$KHt
{ "result": "200", "resultMessage": "SUCCESS", "totalCount": 0, "totalTypeCount": 0, "resultCount": 0, "items": [] }