Documentation ¶
Index ¶
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.