oidc4vptxstore

package
v1.0.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

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(mongoClient *mongodb.Client, documentLoader jsonld.DocumentLoader) *TxStore

NewTxStore creates TxStore.

func (*TxStore) Create

Create creates transaction document in a database.

func (*TxStore) Get

func (p *TxStore) Get(strID oidc4vp.TxID) (*oidc4vp.Transaction, error)

Get profile by give id.

func (*TxStore) Update

func (p *TxStore) Update(update oidc4vp.TransactionUpdate) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL