Closed rolsonquadras closed 3 years ago
Request:
{
"@id":"089a0775-7e5f-4b96-912f-25532ec6853d",
"@type":"https://trustbloc.dev/adapter/1.0/diddoc-req"
}
Response:
{
"@id":"a8fb8f8f-4137-4e4e-9168-9b34f8d93fee",
"@type":"https://trustbloc.dev/adapter/1.0/diddoc-resp",
"~thread":{
"thid":"089a0775-7e5f-4b96-912f-25532ec6853d"
},
"data":{
"errorMsg":"<inCaseOfFailure>",
"didDoc":{
<adapterDIDDoc>
}
}
}
For AuthZ credential, the wallet needs to request for a new DID from RP adapter and pass it to the issuer.
Related to https://github.com/trustbloc/edge-agent/issues/334