tokencache

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*TokenCache)

func WithCredentialStore

func WithCredentialStore(store credentialstore.CredentialStore) Option

type TokenCache

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

func New

func New(options ...Option) *TokenCache

func (*TokenCache) Clear

func (c *TokenCache) Clear() error

func (*TokenCache) Export

func (c *TokenCache) Export(ctx context.Context, cache cache.Marshaler, hints cache.ExportHints) error

func (*TokenCache) Replace

func (c *TokenCache) Replace(ctx context.Context, cache cache.Unmarshaler, hints cache.ReplaceHints) error

Jump to

Keyboard shortcuts

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