oidc4vpclaimsstore

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store stores claim data with expiration.

func New

func New(redisClient *redis.Client, ttlSec int32) *Store

New creates presentation claims store.

func (*Store) Create

func (s *Store) Create(claims *oidc4vp.ClaimData, profileReceivedClaimsDataTTL int32) (string, error)

func (*Store) Delete

func (s *Store) Delete(claimDataID string) error

func (*Store) Get

func (s *Store) Get(claimDataID string) (*oidc4vp.ClaimData, error)

Jump to

Keyboard shortcuts

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