Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Username string `yaml:"username"`
TenantID string `yaml:"tenantID"`
ClientID string `yaml:"clientID"`
ClientSecret string `yaml:"clientSecret"`
Scopes []string `yaml:"scopes"`
Redirect *RedirectConfig `yaml:"redirect"`
}
Config is the configuration for the client OAUTH2 system
func LoadConfig ¶
LoadConfig loads the configuration from the default configuration file.
type RedirectConfig ¶
type RedirectConfig struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Path string `yaml:"path"`
}
RedirectConfig describes the OAUTH2 delegationr redirect setup (from client config on Microsoft)
Click to show internal directories.
Click to hide internal directories.