Skip to content

Commit

Permalink
modified presentation request response to provide request object in r…
Browse files Browse the repository at this point in the history
…esponse body
  • Loading branch information
tlodderstedt committed Oct 16, 2023
1 parent 67420e6 commit cafba20
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions diagrams/advanced_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
autonumber
box "Wallet"
participant "Metadata" as wm
participant "Discovery Endpoint" as w
end box
participant "User Agent" as u
box "Verifier"
Expand All @@ -11,11 +16,6 @@ participant "Presentation Endpoint" as rp
participant "Response Endpoint" as rb
end box
box "Wallet"
participant "Discovery Endpoint" as w
participant "Metadata" as wm
end box
u --> r : use
activate r
Expand All @@ -25,8 +25,8 @@ u --> w: **discover request**\n(presentation_uri, context)
activate w
w --> rp: **create presentation request** (context, iss, w_nonce, \nwallet attestation, **wallet attestation pop(v_nonce)**)
note over u, w: HTTP status code 401 signals need to authenticate
rp --> wm: get wallet metadata
wm --> rp: wallet metadata
rp --> wm: [OPTIONAL] get wallet metadata
wm --> rp: [OPTIONAL] wallet metadata
rp -> rp: create and sign presentation request object (client_id, w_nonce, nonce, response_uri, \npresentation_definition, state)
rp --> w: **signed request object** (client_id, w_nonce, nonce, response_uri, \npresentation_definition, state)
note over u, w: do we want to allow unsigned presentation request objects, too?
Expand Down

0 comments on commit cafba20

Please sign in to comment.