Documentation
¶
Index ¶
- type Provider
- func (p Provider) BeginAuth(state string) (goth.Session, error)
- func (p Provider) Client() *http.Client
- func (p Provider) Debug(b 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(s string) (goth.Session, error)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
ClientKey string
ClientSecret string
CallbackURL string
HTTPClient *http.Client
// contains filtered or unexported fields
}
Provider is an implementation of
func (Provider) RefreshToken ¶
func (Provider) RefreshTokenAvailable ¶
Click to show internal directories.
Click to hide internal directories.