12345678910111213141516171819202122232425262728293031323334353637383940 |
- @startuml
- title Extended Process of AppBase of GateToken
- boundary ProPage as pro_page
- control Erp_Front_API as app_api
- control Erp_Backend_API as back_api
- autonumber
- note over pro_page: AppUri, AppBase64
- pro_page->app_api: request /gate-token-get
- note over app_api #FCC873: ClientId, BB64, AB64
- app_api->back_api: Request /gate-token-get
- note over back_api #73EDFC
- <b>KeyPair Get</b>
- See EnvDaboryToGateToken
- end note
- back_api->back_api: Decrypt AB64 with KeyPair
- note over back_api #73EDFC
- <b>1.Get Decrypted ClientId and SsoSubId From AB64</b>
- <b>2.ClientId and Decrypted ClientId</b>
- end note
- back_api->app_api: return error If ClientId Mismatch
- note over back_api #73EDFC
- <b>Create GateToken and Save GTBase</b>
- DBconn, SsoSubId and Etc
- See EnvDaboryToGateToken
- SsoSubId -> Allow to Access All APIs
- end note
- back_api->app_api: Response GateToken
- app_api->pro_page: Return GateToken
- @enduml
|