config

package
v0.0.0-...-b4a6059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig()

Initialize AppConfig

Types

type Configuration

type Configuration struct {
	OAuthProvider          string
	OAuthProviderBaseURL   string
	OAuthTelarBaseURL      string
	ClientID               string
	ClientSecret           string
	OAuthClientSecret      string
	AdminUsername          string
	AdminPassword          string
	ExternalRedirectDomain string
	AuthWebURI             string
	WebURL                 string
	Scope                  string
	CookieRootDomain       string
	CookieExpiresIn        time.Duration
	BaseRoute              string
	VerifyType             string
	QueryPrettyURL         bool
	Debug                  bool // Debug enables verbose logging of claims / cookies
}
var AuthConfig Configuration

AuthConfig holds the configuration values from auth-config.yml file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL