Documentation ¶
Index ¶
- type Config
- func (c *Config) Email(token *oauth2.Token) string
- 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) string
- 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 {
// contains filtered or unexported fields
}
Config is an implementation of `auth.Provider` for authenticating using a Office 365 account.
func (*Config) StartSession ¶
StartSession retrieves an authentication endpoint from Microsoft.
Click to show internal directories.
Click to hide internal directories.