authtokentest

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2016 License: Apache-2.0 Imports: 2 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) 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