Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CONFIG_LOCATION string
Functions ¶
func Config ¶
func Config() (map[string]OAuth2Config, error)
Types ¶
type OAuth2Config ¶
type OAuth2Config struct { ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` RedirectURL string `json:"redirect_url"` AuthURL string `json:"auth_url"` TokenURL string `json:"token_url"` UserInfoURL string `json:"user_info_url"` AuthField string `json:"auth_field"` Scope string `json:"scope"` }
Click to show internal directories.
Click to hide internal directories.