authtokentest

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SingleTokenStore

type SingleTokenStore struct {
	Token *authtoken.Token
}

SingleTokenStore is a token store for storing a single auth token for testing.

func (*SingleTokenStore) Delete

func (s *SingleTokenStore) Delete(accessToken string) error

func (*SingleTokenStore) Get

func (s *SingleTokenStore) Get(accessToken string, token *authtoken.Token) error

func (*SingleTokenStore) NewToken

func (s *SingleTokenStore) NewToken(appName string, authInfoID string) (authtoken.Token, error)

func (*SingleTokenStore) Put

func (s *SingleTokenStore) Put(token *authtoken.Token) error

Jump to

Keyboard shortcuts

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