Versions in this module Expand all Collapse all v1 v1.0.0 Dec 20, 2017 Changes in this version + func DownloadAccessToken(url string, auth *osin.BasicAuth, output map[string]interface{}) error + func HandleLoginPage(ar *osin.AuthorizeRequest, w http.ResponseWriter, r *http.Request) bool + type TestStorage struct + func NewTestStorage() *TestStorage + func (s *TestStorage) Clone() osin.Storage + func (s *TestStorage) Close() + func (s *TestStorage) GetClient(id string) (osin.Client, error) + func (s *TestStorage) LoadAccess(code string) (*osin.AccessData, error) + func (s *TestStorage) LoadAuthorize(code string) (*osin.AuthorizeData, error) + func (s *TestStorage) LoadRefresh(code string) (*osin.AccessData, error) + func (s *TestStorage) RemoveAccess(code string) error + func (s *TestStorage) RemoveAuthorize(code string) error + func (s *TestStorage) RemoveRefresh(code string) error + func (s *TestStorage) SaveAccess(data *osin.AccessData) error + func (s *TestStorage) SaveAuthorize(data *osin.AuthorizeData) error + func (s *TestStorage) SetClient(id string, client osin.Client) error