Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
Enabled bool
Providers map[string]AuthProvider
}
Auth stores configuration about OpenId Connect Providers and etc.
type AuthProvider ¶
type AuthProvider struct {
Name string `json:"name"`
Issuer string `json:"issuer"`
ClientID string `json:"clientId"`
JWKsURL string `json:"jwksUrl"`
Scope string `json:"scope"`
}
AuthProvider - struct for store OpenId connect provider configuration
type Configuration ¶
Configuration stores all app configuration
func LoadConfiguration ¶
func LoadConfiguration() (*Configuration, error)
LoadConfiguration loads configuration from config files and env variables
Click to show internal directories.
Click to hide internal directories.