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 TxChannelRegistry for JIT Credentials #75

Open
1 task
nanderstabel opened this issue Jun 10, 2024 · 1 comment
Open
1 task

Implement TxChannelRegistry for JIT Credentials #75

nanderstabel opened this issue Jun 10, 2024 · 1 comment
Labels
Enhancement New feature or improvement to an existing feature

Comments

@nanderstabel
Copy link
Collaborator

Description

We need to add some sort of registry to the IssuanceState and potentially also VerificationState that can be used to open channels that can be triggered by specific DomainEvent's. The purpose of this registry is to enable channels to be opened from outside the core cqrs framework through which can be listened to specific events that are being dispatched.

One use case for this is for JIT credentials where when the /oid4vci/credential endpoint is called and the endpoint needs to wait for a JIT credential to arrive after it published the CredentialRequestVerified event. The endpoint opens a channel in the Repository and awaits for the CredentialsAdded event.

Motivation

This is a cleaner more efficient solution than our current polling solution described here: #70

Resources

To-do List

  • Add TxChannelRegistry
@nanderstabel nanderstabel added the Enhancement New feature or improvement to an existing feature label Jun 10, 2024
@M-Adam-Hus
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or improvement to an existing feature
Projects
Status: Backlog
Development

No branches or pull requests

2 participants