title | category | type | source |
---|---|---|---|
Off-chain Messages |
messages |
reference |
The Selective Disclosure Response is created by a users mobile app as a response to a Selective Disclosure Request during the Selective Disclosure Flow.
The response is always signed and returned to the callback url included in the request.
The following attributes of the JWT are supported:
Name | Description | Required |
---|---|---|
type |
MUST have the value shareResp |
yes |
iss |
The DID of the signing identity | yes |
aud |
The DID of the requester or the callback url if this was created as a response to an unsigned request | yes |
iat |
The time of issuance | yes |
exp |
Expiration time of JWT | yes |
req |
The original JWT encoded Selective Disclosure Request | yes for responses to signed requests |
nad |
The DID of the Ethereum account requested using act in the Selective Disclosure Request |
no |
dad |
The devicekey as a regular hex encoded ethereum address as requested using act='devicekey' in the Selective Disclosure Request |
no |
own |
The self signed claims requested from a user. Either as an Object of claim types for self signed claims eg: {"name":"Carol Crypteau", "email":"carol@sample.com","image":{"/":"/ipfs/QmSCnmXC91Arz2gj934Ce4DeR7d9fULWRepjzGMX6SSazB"}} or the IPFS Hash of a JSON encoded equivalent. See claims |
no |
verified|vc |
Array of Verified Claims JWTs or IPFS hash of JSON encoded equivalent. See Verified Claims | no |
capabilities |
An array of JWT tokens giving client app the permissions requested. Currently a token allowing them to send push notifications | no |
boxPub |
32 byte base64 encoded Curve25519 public key used for sending encrypted messages to user |
no |