token

package
v0.20.6 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheKey

type CacheKey string

type CachedToken

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

func Load added in v0.8.6

func Load(key CacheKey) *CachedToken

func New added in v0.8.6

func New(token *api.Token) *CachedToken

func (*CachedToken) Get

func (t *CachedToken) Get() (*api.Token, error)

func (*CachedToken) TenantID

func (t *CachedToken) TenantID() string

func (*CachedToken) Verify

func (t *CachedToken) Verify() error

Jump to

Keyboard shortcuts

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