identity

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBStorageProvider

type DBStorageProvider struct {
	// contains filtered or unexported fields
}

func NewDBStorageProvider

func NewDBStorageProvider(kvs kvs.KVS, manager *identitydb.Manager) *DBStorageProvider

func (*DBStorageProvider) NewKeystore

func (s *DBStorageProvider) NewKeystore() (identity.Keystore, error)

func (*DBStorageProvider) OpenIdentityDB

func (s *DBStorageProvider) OpenIdentityDB(tmsID token.TMSID) (driver.IdentityDB, error)

func (*DBStorageProvider) OpenWalletDB

func (s *DBStorageProvider) OpenWalletDB(tmsID token.TMSID) (driver.WalletDB, error)

type KVSStorageProvider

type KVSStorageProvider struct {
	// contains filtered or unexported fields
}

func NewKVSStorageProvider

func NewKVSStorageProvider(kvs kvs.KVS) *KVSStorageProvider

func (*KVSStorageProvider) NewKeystore

func (s *KVSStorageProvider) NewKeystore() (identity.Keystore, error)

func (*KVSStorageProvider) OpenIdentityDB

func (s *KVSStorageProvider) OpenIdentityDB(tmsID token.TMSID) (driver.IdentityDB, error)

func (*KVSStorageProvider) OpenWalletDB

func (s *KVSStorageProvider) OpenWalletDB(tmsID token.TMSID) (driver.WalletDB, error)

Jump to

Keyboard shortcuts

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