token

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 4 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

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