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
Click to show internal directories.
Click to hide internal directories.