@identity.com/dsr
Version:
The Dynamic Scope Request (DSR) javascript library provides capability around securely requesting credential information between an ID Requester and an ID Holder
36 lines (35 loc) • 902 B
JSON
{
"version": "1",
"timestamp": "2018-07-04T00:11:55.698Z",
"requesterInfo": {
"requesterId": "3735a5b4-8a1f-11e8-9a94-a6cf71072f73",
"app": {
"id": "3cc295aa-8a1f-11e8-9a94-a6cf71072f73",
"name": "App Name",
"logo": "https://server/path/logo.png",
"description": "App Description",
"primaryColor": "2345EE",
"secondaryColor": "2345FF"
}
},
"channels": {
"eventsURL": "https://server/events/UUID",
"payloadURL": "https://server/payload/UUID"
},
"credentialItems": [
{
"identifier": "claim-cvc:Document:name-1",
"constraints": {
"meta": {
"credential": "credential-cvc:GenericDocumentId-v1"
},
"claims": [
{ "path": "name.givenNames", "is": {"$eq": "JRbSLu3809"} }
]
}
}
],
"authorization": {
"jwt": "<EXPIRABLE-TOKEN-SIGNING-EXACT_REQUEST>"
}
}