Skip to content

Commit

Permalink
Merge branch 'main' into credential_offer_flow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbastian authored Dec 7, 2023
2 parents 7226524 + 9a5e26c commit 4ba004b
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 98 deletions.
2 changes: 1 addition & 1 deletion examples/credential_offer_by_reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "adhjhdjajkdkhjhdj",
"user_pin_required": true
"tx_code" : {}
}
}
}
5 changes: 4 additions & 1 deletion examples/credential_offer_mso_doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "adhjhdjajkdkhjhdj",
"user_pin_required": true
"tx_code" : {
"input_mode" : "text",
"description" : "Please enter the serial number of your physical drivers license"
}
}
}
}
10 changes: 7 additions & 3 deletions examples/credential_offer_multiple_credentials.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@
"issuer_state": "eyJhbGciOiJSU0Et...FYUaBy"
},
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "adhjhdjajkdkhjhdj",
"user_pin_required": true
"pre-authorized_code": "oaKazRN8I0IbtZ0C7JuMn5",
"tx_code" : {
"length": 4,
"input_mode" : "numeric",
"description": "Please provide the PIN which was sent via e-mail"
}
}
}
}
}
4 changes: 3 additions & 1 deletion examples/credential_offer_pre-authz_code.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "adhjhdjajkdkhjhdj",
"user_pin_required": true
"tx_code" : {
"description" : "Enter the PIN which was send by SMS to your mobile phone"
}
}
}
}
Loading

0 comments on commit 4ba004b

Please sign in to comment.