internal

package
v0.0.0-...-b5c43a4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	Clients        map[string]client.Client
	AuthorizeCodes map[string]fosite.Requester
	AccessTokens   map[string]fosite.Requester
	Implicit       map[string]fosite.Requester
	RefreshTokens  map[string]fosite.Requester
	Users          map[string]UserRelation
}

func (*Store) CreateAccessTokenSession

func (s *Store) CreateAccessTokenSession(signature string, req fosite.Requester) error

func (*Store) CreateAuthorizeCodeSession

func (s *Store) CreateAuthorizeCodeSession(code string, req fosite.Requester) error

func (*Store) CreateImplicitAccessTokenSession

func (s *Store) CreateImplicitAccessTokenSession(code string, req fosite.Requester) error

func (*Store) CreateRefreshTokenSession

func (s *Store) CreateRefreshTokenSession(signature string, req fosite.Requester) error

func (*Store) DeleteAccessTokenSession

func (s *Store) DeleteAccessTokenSession(signature string) error

func (*Store) DeleteAuthorizeCodeSession

func (s *Store) DeleteAuthorizeCodeSession(code string) error

func (*Store) DeleteRefreshTokenSession

func (s *Store) DeleteRefreshTokenSession(signature string) error

func (*Store) DoCredentialsAuthenticate

func (s *Store) DoCredentialsAuthenticate(name string, secret string) error

func (*Store) GetAccessTokenSession

func (s *Store) GetAccessTokenSession(signature string, _ interface{}) (fosite.Requester, error)

func (*Store) GetAuthorizeCodeSession

func (s *Store) GetAuthorizeCodeSession(code string, _ interface{}) (fosite.Requester, error)

func (*Store) GetClient

func (s *Store) GetClient(id string) (client.Client, error)

func (*Store) GetRefreshTokenSession

func (s *Store) GetRefreshTokenSession(signature string, _ interface{}) (fosite.Requester, error)

type UserRelation

type UserRelation struct {
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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