CredentialOfferGrants
urn:ietf:params:oauth:grant-type:pre-authorized_code object
pre-authorized_codestringrequired
Example:
pre-auth-code-xyztx_code object
input_modestring
Example:
textlengthnumber
Example:
6descriptionstring
Example:
Enter transaction codeintervalnumber
Example:
30authorization_serverstring
Example:
authorization-server-sampleauthorization_code object
issuer_statestring
Example:
issuer-state-exampleauthorization_serverstring
Example:
authorization-server-exampleCredentialOfferGrants
{
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_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"
}
}