Versions in this module Expand all Collapse all v0 v0.1.0 Feb 3, 2018 Changes in this version + func GenerateSecret(len int) (string, error) + type AuthPlzConfig struct + Address string + AllowedOrigins []string + CookieSecret string + Database string + DisableWebSecurity bool + ExternalAddress string + Mailer MailerConfig + MinimumPasswordLength int + Name string + OAuth OAuthConfig + Port string + StaticDir string + TLS TLSConfig + TemplateDir string + TokenSecret string + func DefaultConfig() (*AuthPlzConfig, error) + func GetConfig() (*AuthPlzConfig, error) + func LoadConfig(filename, envPrefix string) (*AuthPlzConfig, error) + type CLIOptions struct + ConfigFile string + Prefix string + type MailerConfig struct + Driver string + Options map[string]string + type OAuthConfig struct + AccessExpiry time.Duration + AllowedGrants configSplit + AllowedResponses []string + AllowedScopes configSplit + AuthorizeExpiry time.Duration + AuthorizeRedirect string + IDExpiry time.Duration + RefreshExpiry time.Duration + TokenSecret string + func DefaultOAuthConfig() OAuthConfig + type TLSConfig struct + Cert string + Disabled bool + Key string