CredentialOfferGrants
urn:ietf:params:oauth:grant-type:pre-authorized_code object
pre-authorization_codestringrequired
Example:
pre-auth-code-xyz
tx_code object
input_modestring
Example:
text
lengthnumber
Example:
6
descriptionstring
Example:
Enter transaction code
intervalnumber
Example:
30
authorization_serverstring
Example:
authorization-server-sample
authorization_code object
issuer_statestring
Example:
issuer-state-example
authorization_serverstring
Example:
authorization-server-example
CredentialOfferGrants
{
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorization_code": "pre-auth-code-xyz",
"tx_code": {
"input_mode": "numeric",
"length": 4,
"description": "Sample transaction code"
},
"interval": 30,
"authorization_server": "authorization-server-sample"
},
"authorization_code": {
"issuer_state": "issuer-state-example",
"authorization_server": "authorization-server-example"
}
}