@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
41 lines (40 loc) • 1.09 kB
JSON
{
"dsr": {
"version": "1",
"requesterInfo": {
"app": {
"id": "TestPartnerApp",
"name": "TestPartnerApp",
"logo": "https://s-media-cache-ak0.pinimg.com/originals.png",
"description": "TestPartnerApp",
"primaryColor": "A80B00",
"secondaryColor": "FFFFFF"
},
"requesterId": "TestPartnerId"
},
"timestamp": "2018-07-22T14:06:35.879Z",
"credentialItems": [
{
"identifier": "claim-cvc:Identity:name-1",
"meta": {
"credential": "credential-proofOfIdentity-v1.0",
"issuer": {
"is": {
"$eq": "0x1a88a35421a4a0d3e13fe4e8ebcf18e9a249dc5a"
}
}
},
"constraints": {
"claims": [
{ "path": "name.first", "is": {"$eq": "pgbXa8A3QI"} }
]
}
}],
"channels": {
"eventsURL": "https://localhost/sr/events/abcd",
"payloadURL": "https://localhost/sr/payload/abcd"
},
"authorization": {}
},
"credentials": ["credential-proofOfIdentity-v1.0"]
}