oidc4ciclaimdatastore

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 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(ctx context.Context, mongoClient *mongodb.Client, ttl int32) (*Store, error)

New creates a new instance of Store.

func (*Store) Create

func (s *Store) Create(ctx context.Context, profileClaimDataTTL int32, data *oidc4ci.ClaimData) (string, error)

func (*Store) GetAndDelete

func (s *Store) GetAndDelete(ctx context.Context, claimDataID string) (*oidc4ci.ClaimData, error)

Jump to

Keyboard shortcuts

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