Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
Click to show internal directories.
Click to hide internal directories.