Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

rp adapter: refactor CHAPI request #121

Closed
llorllale opened this issue Jun 25, 2020 · 0 comments · Fixed by #123
Closed

rp adapter: refactor CHAPI request #121

llorllale opened this issue Jun 25, 2020 · 0 comments · Fixed by #123
Assignees
Milestone

Comments

@llorllale
Copy link
Contributor

https://github.com/trustbloc/edge-adapter/blob/1f14429a65e3d0724bda35c2dc7a04bd00c7de1a/cmd/rp-adapter-vue/src/pages/Credentials.vue#L24

New request should look like:

{
  "query": [
    {
      "type": "PresentationDefinitionQuery",
      "presentationDefinitionQuery": [
        // Presentation Definition goes here.
      ]
    },
    {
      "type": "DIDConnect",
      "invitation": [
        // invitation goes here.
      ]
    }
  ]
}
@llorllale llorllale added this to the 0.1.4 milestone Jun 25, 2020
@llorllale llorllale self-assigned this Jun 25, 2020
llorllale pushed a commit to llorllale/edge-adapter that referenced this issue Jun 27, 2020
* trustbloc#120: rp adapter:
  * embed issuer's and rp's did docs in the consent VC
  * chapiResponseHandler now expects a VP (presentation_submission)
    with a single VC (the user's consent VC)
* trustbloc#121: rp adapter: refactor CHAPI request

Signed-off-by: George Aristy <george.aristy@securekey.com>
llorllale pushed a commit to llorllale/edge-adapter that referenced this issue Jun 27, 2020
* trustbloc#120: rp adapter:
  * embed issuer's and rp's did docs in the consent VC
  * chapiResponseHandler now expects a VP (presentation_submission)
    with a single VC (the user's consent VC)
* trustbloc#121: rp adapter: refactor CHAPI request

Signed-off-by: George Aristy <george.aristy@securekey.com>
llorllale pushed a commit to llorllale/edge-adapter that referenced this issue Jun 27, 2020
* trustbloc#120: rp adapter:
  * embed issuer's and rp's did docs in the consent VC
  * chapiResponseHandler now expects a VP (presentation_submission)
    with a single VC (the user's consent VC)
* trustbloc#121: rp adapter: refactor CHAPI request

Signed-off-by: George Aristy <george.aristy@securekey.com>
sudeshrshetty added a commit that referenced this issue Jun 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant