Documentation ¶
Index ¶
- type TxStore
- func (p *TxStore) Create(pd *presexch.PresentationDefinition, profileID, profileVersion string, ...) (oidc4vp.TxID, *oidc4vp.Transaction, error)
- func (p *TxStore) Delete(strID oidc4vp.TxID) error
- func (p *TxStore) Get(strID oidc4vp.TxID) (*oidc4vp.Transaction, error)
- func (p *TxStore) Update(update oidc4vp.TransactionUpdate, _ int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxStore ¶
type TxStore struct {
// contains filtered or unexported fields
}
TxStore manages profile in mongodb.
func NewTxStore ¶
func NewTxStore( ctx context.Context, mongoClient *mongodb.Client, documentLoader jsonld.DocumentLoader, vpTransactionDataTTLSec int32) (*TxStore, error)
NewTxStore creates TxStore.
func (*TxStore) Create ¶
func (p *TxStore) Create( pd *presexch.PresentationDefinition, profileID, profileVersion string, profileTransactionDataTTL int32, customScopes []string, ) (oidc4vp.TxID, *oidc4vp.Transaction, error)
Create creates transaction document in a database.
Click to show internal directories.
Click to hide internal directories.