Skip to content

Commit 82acbe5

Browse files
committed
Fix of incorrect JSONs
1 parent ab7c810 commit 82acbe5

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
lines changed

articles/active-directory/verifiable-credentials/presentation-request-api.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,9 @@ The following example demonstrates a callback payload after the verifiable crede
218218
"requestStatus": "presentation_verified",
219219
"state": "92d076dd-450a-4247-aa5b-d2e75a1a5d58",
220220
"subject": "did:ion:EiAlrenrtD3Lsw0GlbzS1O2YFdy3Xtu8yo35W<SNIP>…",
221-
"issuers": [
221+
"verifiedCredentialsData": [
222222
{
223+
"issuer": "did:ion:issuer",
223224
"type": [
224225
"VerifiableCredential",
225226
"VerifiedCredentialExpert"
@@ -228,15 +229,20 @@ The following example demonstrates a callback payload after the verifiable crede
228229
"firstName": "Megan",
229230
"lastName": "Bowen"
230231
},
231-
"domain": "https://contoso.com/",
232-
"verified": "DNS",
233-
"authority": "did:ion:….."
232+
"credentialState": {
233+
"revocationStatus": "VALID"
234+
},
235+
"domainValidation": {
236+
"url": "https://contoso.com/"
237+
}
234238
}
235239
],
236240
"receipt": {
237-
"id_token": "eyJraWQiOiJkaWQ6aW<SNIP>"
241+
"id_token": "eyJraWQiOiJkaWQ6aW<SNIP>",
242+
"vp_token": "...",
243+
"state": "..."
238244
}
239-
}
245+
}
240246
```
241247

242248
## Next steps

articles/active-directory/verifiable-credentials/verifiable-credentials-configure-issuer.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ In this step, you create the verified credential expert card by using Microsoft
113113
],
114114
"required": false
115115
}
116-
],
117-
"validityInterval": 2592000,
118-
"vc": {
119-
"type": [
120-
"VerifiedCredentialExpert"
121-
]
122-
}
116+
]
117+
},
118+
"validityInterval": 2592000,
119+
"vc": {
120+
"type": [
121+
"VerifiedCredentialExpert"
122+
]
123123
}
124124
}
125125
```
@@ -321,8 +321,8 @@ public async Task<ActionResult> issuanceRequest()
321321
...
322322
323323
// Here you could change the payload manifest and change the first name and last name.
324-
payload["issuance"]["claims"]["given_name"] = "Megan";
325-
payload["issuance"]["claims"]["family_name"] = "Bowen";
324+
payload["claims"]["given_name"] = "Megan";
325+
payload["claims"]["family_name"] = "Bowen";
326326
...
327327
}
328328
```

0 commit comments

Comments
 (0)