@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
64 lines • 1.45 kB
JSON
{
"version": "1",
"mode": "ADVANCED",
"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": "credential-cvc:Identity-v1",
"constraints": {
"meta": {
"issuer": {
"is": {
"$eq": "jest:test:2d516330-d2cc-11e8-b214-99085237d65e"
}
},
"issuanceDate": {
"is": {
"$gt": 1509999999999
}
},
"expirationDate": {
"is": {
"$lt": 1999999999999
}
}
},
"claims": [
{
"path": "identity.name.familyNames",
"is": {
"$eq": "djNLf8eWmO"
}
},
{
"path": "identity.name.givenNames",
"is": {
"$eq": "qigCmvByou"
}
}
]
},
"aggregate": [
{
"$limit": 3
}
]
}
],
"channels": {
"eventsURL": "https://localhost/sr/events/abcd",
"payloadURL": "https://localhost/sr/payload/abcd"
},
"authorization": {}
}