Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HeaderRenameHandler ¶
Types ¶
type Config ¶
type Config struct {
OAuth OAuthConfig `yaml:"oauth"`
Session SessionConfig `yaml:"session"`
}
func ParseConfig ¶
type InvalidKeyLengthError ¶
type InvalidKeyLengthError struct {
// contains filtered or unexported fields
}
func (*InvalidKeyLengthError) Error ¶
func (e *InvalidKeyLengthError) Error() string
type OAuthConfig ¶
type OAuthConfig struct {
ClientID string `yaml:"client_id"`
ClientSecret string `yaml:"client_secret"`
SkipSSLValidation bool `yaml:"skip_ssl_validation"`
AuthorizationURL string `yaml:"authorization_url"`
TokenURL string `yaml:"token_url"`
RedirectURL string `yaml:"redirect_url"`
RequiredScopes []string `yaml:"required_scopes"`
OptionalScopes []string `yaml:"optional_scopes"`
}
type SessionConfig ¶
Click to show internal directories.
Click to hide internal directories.