From 39ae12e0845ccc85ca07b3b7dad7c9b8d2d64d0d Mon Sep 17 00:00:00 2001 From: Melissa Henderson <57110301+melissahenderson@users.noreply.github.com> Date: Tue, 14 May 2024 13:54:34 -0400 Subject: [PATCH] Update large sequence diagram (#473) --- .../src/content/docs/introduction/op-flow.mdx | 90 ++++++++++--------- 1 file changed, 46 insertions(+), 44 deletions(-) diff --git a/docs/src/content/docs/introduction/op-flow.mdx b/docs/src/content/docs/introduction/op-flow.mdx index 0e5b3c8b..7a6fbd21 100644 --- a/docs/src/content/docs/introduction/op-flow.mdx +++ b/docs/src/content/docs/introduction/op-flow.mdx @@ -147,58 +147,60 @@ Similarly, the client can provide the end-user with details about a specific
  • >+A1: incoming payment grant request - A1->>-Cl: grant + access token - Cl->>+R1: incoming payment creation request - R1->>+A1: token introspection - A1->>-R1: token valid + grant details - R1->>-Cl: incoming payment - rect rgba(0, 0, 255, .1) - Cl->>+Cu: request wallet address - Cu->>Cl: wallet address + autonumber + box rgb(225,245,254) Sender's
    account servicing entity + participant SIDP as Identity provider + participant SRS as Resource server + participant SAS as Auth server end - Cl->>+R2: query customer's wallet address - R2->>-Cl: wallet address details including auth server endpoint - Cl->>+A2: quote grant request - A2->>-Cl: grant + access token - Cl->>+R2: quote creation request - R2->>+A2: token introspection - A2->>-R2: token valid + grant details - R2->>-Cl: quote - Cl->>+A2: outgoing payment grant request - A2->>-Cl: IdP redirect info - rect rgba(0, 0, 255, .1) - Cl->>IP: redirect to IdP - IP->>Cu: consent to grant request - Cu->>IP: consent given - Cu->>-Cl: interaction finished + participant SC as Client + box rgb(232,245,233) Recipient's
    account servicing entity + participant RW as Wallet address URL + participant RAS as Auth server + participant RRS as Resource server end - Cl->>+A2: continue grant request - A2->>-Cl: grant + access token - Cl->>+R2: outgoing payment creation request - R2->>+A2: token introspection - A2->>-R2: token valid + grant details - R2->>R2: grant accounting - R2->>-Cl: outgoing payment - deactivate Cl - + SC->>+RW: Sends GET request + RW->>-SC: Responds with auth & resource server URLs + SC->>+RAS: Sends a non-interactive grant request
    (type=incoming-payment) + RAS->>-SC: Responds with access token & grant + SC->>+RRS: Sends request to create an incoming payment resource + RRS->>RAS: Requests validation of access token + RAS->>RRS: Access token is validated + RRS->>-SC: Incoming payment resource is created + SC->>+SAS: Sends non-interactive grant request
    (type=quote) + SAS->>-SC: Responds with access token and grant + SC->>+SRS: Sends request to create a quote resource + SRS->>-SC: Quote resource is created + SC->>+SAS: Sends interactive grant request
    (type=outgoing-payment) + SAS->>-SC: Responds with interact redirect uri and continue uri + SC->>+SAS: Navigates to interact redirect uri + SAS->>SAS: Starts interaction
    and sets session + SAS->>-SC: Responds with identity provider uri + SC->>+SIDP: Navigates (redirects) to identity provider + SIDP->>SIDP: Sender accepts interaction,
    for eg: confirms payment intent + SIDP->>SAS: Sends interaction choice + SAS->>SIDP: Accepts choice + SIDP->>SAS: Requests to finish interaction + SAS->>SAS: Ends session + SAS->>SIDP: Redirects to finish url defined in initial grant request + SIDP->>-SC: Follows redirect + SC->>SC: Verifies hash + SC->>+SAS: Sends a grant continuation request + SAS->>-SC: Responds with a grant access token + SC->>+SRS: Sends request to create an outgoing payment resource + SRS->>SAS: Requests validation of access token + SAS->>SRS: Access token is validated + SRS->>-SC: Outgoing payment resource is created `} />