Documentation ¶
Index ¶
- type Config
- func (c *Config) Exchange(code string) (*oauth2.Token, error)
- func (c *Config) Name() string
- func (c *Config) Revoke(token *oauth2.Token) error
- func (c *Config) StartSession(state string) *auth.Session
- func (c *Config) Username(token *oauth2.Token) string
- func (c *Config) Valid(token *oauth2.Token) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct{}
Config is an implementation of `auth.Provider` for testing.
func (*Config) StartSession ¶
StartSession retrieves an authentication endpoint.
Click to show internal directories.
Click to hide internal directories.