Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement AuthClient.request , AuthClient.pair #2

Closed
3 tasks done
Tracked by #1
bkrem opened this issue Aug 9, 2022 · 0 comments
Closed
3 tasks done
Tracked by #1

Implement AuthClient.request , AuthClient.pair #2

bkrem opened this issue Aug 9, 2022 · 0 comments
Assignees

Comments

@bkrem
Copy link
Member

bkrem commented Aug 9, 2022

  • Create a pairing + URI as part of AuthClient.request
  • Send wc_authRequest as part of AuthClient.request (i.e. this.sendRequest(pairingTopic, "wc_authRequest",...)). Can use dummy payload for now.
  • Implement AuthClient.pair on responder side to process URI input and subscribe to pairing topic

Goals

  • Requester can generate URI as part of AuthClient.request and return it, so it can be shared with the responder out-of-band.
  • Responder can process a URI input and subscribe to the provided pairing topic
  • Responder can receive the wc_authRequest issued by the requester via the pairing topic.
  • We are able to validate this behaviour via the unit tests.
@bkrem bkrem mentioned this issue Aug 9, 2022
24 tasks
@bkrem bkrem changed the title Implement pairing creation as part of AuthClient.request on requester, AuthClient.pair on responder Implement AuthClient.request , AuthClient.pair Aug 9, 2022
@bkrem bkrem closed this as completed Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants