p2u-wallet-0.uml 528 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. @startuml
  2. title "P2U Wallet API(0)-Get JWT"
  3. boundary User_Page as up
  4. participant Frontend_Server as fe
  5. participant Backend_Server as be
  6. autonumber
  7. note over up
  8. (0) GetToken
  9. end note
  10. up->fe: Wallet Login Page
  11. note over fe
  12. request
  13. {"UserId":"aa", "Passwd":"bb"}
  14. end note
  15. fe->be: /p2u-login
  16. note over be
  17. 1)Authentication Process
  18. 2) Create a JWT
  19. end note
  20. be->fe: OK
  21. note over fe
  22. response
  23. {"JwtToken": "o3iuhlvskujrqw;lj;so"}
  24. end note
  25. fe->fe: Keep JwtToken in F/E session
  26. fe->fe: Proceed login success procedure
  27. @enduml