token

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 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 AuthLoader

type AuthLoader interface {
	Lookup() (auth core.Auth, ok bool)
	Projects() []string
}

type TokenProvider

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

func NewTokenProvider

func NewTokenProvider(url *url.URL, authLoader AuthLoader) *TokenProvider

func (*TokenProvider) GetCatalogToken

func (t *TokenProvider) GetCatalogToken() (string, error)

func (*TokenProvider) GetToken added in v0.1.6

func (t *TokenProvider) GetToken() (string, error)

Jump to

Keyboard shortcuts

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