πŸ“–Verifier implementation

There are 2 possibilities to foresee for the value of query.type of the JSON of the GET response of the Verify (β€œDIDAuth” or β€œQueryByExample”):

{
  "type": "VerifiablePresentationRequest",
  "query": [
    {
      "type": "DIDAuth"
    }
  ],
  "challenge": "a random uri",
  "domain" : "talao.co"
}

or:

{
  "type": "VerifiablePresentationRequest",
  "query": [{
    "type": "QueryByExample",
    "credentialQuery": [
      {}]
  }],
  "challenge": "a random uri",
  "domain" : "talao.co"
}

Last updated