From bcd6610cd0ab1b6e1e66ac34b00ce341f2e69c62 Mon Sep 17 00:00:00 2001 From: o749213 Date: Fri, 24 Feb 2023 12:31:10 +0100 Subject: [PATCH 1/2] adding puml --- documentation/UML/sequenceDiagram.puml | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 documentation/UML/sequenceDiagram.puml diff --git a/documentation/UML/sequenceDiagram.puml b/documentation/UML/sequenceDiagram.puml new file mode 100644 index 0000000..8f9d888 --- /dev/null +++ b/documentation/UML/sequenceDiagram.puml @@ -0,0 +1,37 @@ +@startuml + +title "MC Verified MSISDN" + +actor "Mobile App\nCustomer" as user +box "Customer's Device" + participant "Developer's App" as mApp +end box + +box "MC IDGW" +participant "/authrize" as auth +participant "/token" as token +participant "/userinfo" as userInfo +end box + +activate user +user -> mApp: opens Developer's App +activate mApp +mApp -> auth: scope=openid mc_verified_msisdn\n&state={...}\n&{query params defined inside MC specs} +activate auth +auth -> auth: Verified\nMSISDN\nflow +note right: MNO detects device MSISDN\nusing mobile data session details +mApp <- auth: {code} (auth successful) +deactivate auth +mApp -> token: code={code} +activate token +mApp <- token: tokens {id_token, access_token} +deactivate token +mApp -> userInfo: access_token={access_token,msisdn} +activate userInfo +mApp <- userInfo: {"device_msisdn_verified": true} +deactivate userInfo +deactivate mApp +user <- mApp: user inside app + + +@enduml \ No newline at end of file From 4d220299bee1adc47fcc53eeb6f822984d9c6aa5 Mon Sep 17 00:00:00 2001 From: DawidWroblewski <116363841+DT-DawidWroblewski@users.noreply.github.com> Date: Wed, 8 Mar 2023 09:13:46 +0100 Subject: [PATCH 2/2] Update sequenceDiagram.puml fixing typo --- documentation/UML/sequenceDiagram.puml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/UML/sequenceDiagram.puml b/documentation/UML/sequenceDiagram.puml index 8f9d888..554fff6 100644 --- a/documentation/UML/sequenceDiagram.puml +++ b/documentation/UML/sequenceDiagram.puml @@ -8,7 +8,7 @@ box "Customer's Device" end box box "MC IDGW" -participant "/authrize" as auth +participant "/authorize" as auth participant "/token" as token participant "/userinfo" as userInfo end box @@ -34,4 +34,4 @@ deactivate mApp user <- mApp: user inside app -@enduml \ No newline at end of file +@enduml