example

package
v0.0.0-...-2c71676 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2013 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestStorage

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

func NewTestStorage

func NewTestStorage() *TestStorage

func (*TestStorage) GetClient

func (s *TestStorage) GetClient(id string) (*osin.Client, error)

func (*TestStorage) LoadAccess

func (s *TestStorage) LoadAccess(code string) (*osin.AccessData, error)

func (*TestStorage) LoadAuthorize

func (s *TestStorage) LoadAuthorize(code string) (*osin.AuthorizeData, error)

func (*TestStorage) LoadRefresh

func (s *TestStorage) LoadRefresh(code string) (*osin.AccessData, error)

func (*TestStorage) RemoveAccess

func (s *TestStorage) RemoveAccess(code string) error

func (*TestStorage) RemoveAuthorize

func (s *TestStorage) RemoveAuthorize(code string) error

func (*TestStorage) RemoveRefresh

func (s *TestStorage) RemoveRefresh(code string) error

func (*TestStorage) SaveAccess

func (s *TestStorage) SaveAccess(data *osin.AccessData) error

func (*TestStorage) SaveAuthorize

func (s *TestStorage) SaveAuthorize(data *osin.AuthorizeData) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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