Documentation ¶
Overview ¶
Package faux is used exclusively for testing purposes. I would strongly suggest you move along as there's nothing to see here.
Index ¶
- type Provider
- func (p *Provider) BeginAuth(state string) (goth.Session, error)
- func (p *Provider) Client() *http.Client
- func (p *Provider) Debug(debug bool)
- func (p *Provider) FetchUser(session goth.Session) (goth.User, error)
- func (p *Provider) Name() string
- func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error)
- func (p *Provider) RefreshTokenAvailable() bool
- func (p *Provider) SetName(name string)
- func (p *Provider) UnmarshalSession(data string) (goth.Session, error)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is used only for testing.
func (*Provider) RefreshToken ¶
RefreshToken is used only for testing
func (*Provider) RefreshTokenAvailable ¶
RefreshTokenAvailable is used only for testing
Click to show internal directories.
Click to hide internal directories.