UNPKG

@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

49 lines (48 loc) 1.07 kB
{ "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": "credential-cvc:Identity-v1", "constraints": { "meta": { "expiry": { "is": { "$lt": 1999999999999 } } }, "claims": [ { "path": "email.domain", "is": { "$eq": "Hclwr76yfF" } }, { "path": "email.user", "is": { "$eq": "CFjFZyAIYp" } } ] } } ], "channels": { "eventsURL": "https://localhost/sr/events/abcd", "payloadURL": "https://localhost/sr/payload/abcd" }, "authorization": {} }