Implement TxChannelRegistry
for JIT Credentials
#75
Labels
Enhancement
New feature or improvement to an existing feature
TxChannelRegistry
for JIT Credentials
#75
Description
We need to add some sort of registry to the
IssuanceState
and potentially alsoVerificationState
that can be used to open channels that can be triggered by specificDomainEvent
's. The purpose of this registry is to enable channels to be opened from outside the corecqrs
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 theCredentialRequestVerified
event. The endpoint opens a channel in the Repository andawait
s for theCredentialsAdded
event.Motivation
This is a cleaner more efficient solution than our current polling solution described here: #70
Resources
EXTERNAL_SERVER_RESPONSE_TIMEOUT_MS
for JIT credentials #70To-do List
TxChannelRegistry
The text was updated successfully, but these errors were encountered: