token

package
v0.0.0-...-5b6bd79 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fabric8ServiceAccountTokenClient

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

func NewFabric8ServiceAccountTokenClient

func NewFabric8ServiceAccountTokenClient(client *api.Client, accountID string, accountSecret string) *Fabric8ServiceAccountTokenClient

func (*Fabric8ServiceAccountTokenClient) Get

type Fabric8ServiceAccountTokenService

type Fabric8ServiceAccountTokenService interface {
	Get(ctx context.Context) (string, error)
}

type Manager

type Manager interface {
	PublicKeys() []*rsa.PublicKey
}

Manager generate and find auth token information

func NewManager

func NewManager(config tokenManagerConfiguration) (Manager, error)

NewManager returns a new token Manager for handling tokens

type PublicKey

type PublicKey struct {
	KeyID string
	Key   *rsa.PublicKey
}

Jump to

Keyboard shortcuts

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