You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was examining the createVciIssuerBuilder function in the functions.ts file at oid4vci-issuer package and noticed that it currently does not allow for a configurable CredentialOfferState. The function uses withInMemoryCredentialOfferState(), withInMemoryCNonceState(), and withInMemoryCredentialOfferURIState() which seems to set the states to an in-memory state.
Yeah, that is something we will update. There is some refactor work on the low-level library coming up in which we will probably also simplify the state manager interface.
Before that we will have a look at whether it is simple to support custom CredentialOfferState. It mainly has to do with not really having other implementations yet and thus a bit of laziness ;)
I was examining the
createVciIssuerBuilder
function in thefunctions.ts
file at oid4vci-issuer package and noticed that it currently does not allow for a configurableCredentialOfferState
. The function useswithInMemoryCredentialOfferState()
,withInMemoryCNonceState()
, andwithInMemoryCredentialOfferURIState()
which seems to set the states to an in-memory state.builder.withInMemoryCredentialOfferState() .withInMemoryCNonceState() .withInMemoryCredentialOfferURIState()
However, in the OID4VCI repository, I noticed that there is a capability to support a custom implementation of the state manager.
Is the current implementation in
createVciIssuerBuilder
deliberate or is there a plan to allow for a configurableCredentialOfferState
in the future?Allowing a configurable
CredentialOfferState
would provide more flexibility for different use cases.Looking forward to your response.
The text was updated successfully, but these errors were encountered: