sqlstore

package
v0.0.0-...-27279ee Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2015 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLStorage

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

func NewSQLStorage

func NewSQLStorage(authDB *sql.DB) *SQLStorage

func (*SQLStorage) Clone

func (store *SQLStorage) Clone() osin.Storage

func (*SQLStorage) Close

func (store *SQLStorage) Close()

func (*SQLStorage) GetClient

func (store *SQLStorage) GetClient(id string) (osin.Client, error)

func (*SQLStorage) LoadAccess

func (store *SQLStorage) LoadAccess(token string) (*osin.AccessData, error)

func (*SQLStorage) LoadAuthorize

func (store *SQLStorage) LoadAuthorize(code string) (*osin.AuthorizeData, error)

func (*SQLStorage) LoadRefresh

func (store *SQLStorage) LoadRefresh(token string) (*osin.AccessData, error)

func (*SQLStorage) RemoveAccess

func (store *SQLStorage) RemoveAccess(token string) error

func (*SQLStorage) RemoveAuthorize

func (store *SQLStorage) RemoveAuthorize(code string) error

func (*SQLStorage) RemoveClient

func (store *SQLStorage) RemoveClient(id string) error

func (*SQLStorage) RemoveRefresh

func (store *SQLStorage) RemoveRefresh(token string) error

func (*SQLStorage) SaveAccess

func (store *SQLStorage) SaveAccess(accessData *osin.AccessData) error

func (*SQLStorage) SaveAuthorize

func (store *SQLStorage) SaveAuthorize(authorizeData *osin.AuthorizeData) error

func (*SQLStorage) SetClient

func (store *SQLStorage) SetClient(client osin.Client) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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