Documentation
¶
Overview ¶
Package cmd implements a command to run the JSSO server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { DB *store.Connection Linker *web.Linker Cookies *sessions.CookieConfig Redirects *redirecttokens.Config WebauthnConfig *webauthn.Config Permissions *internalauth.Permissions UserService *user.Service EnrollmentService *enrollment.Service LoginService *login.Service SessionService *session.Service PublicMux *http.ServeMux }
func Setup ¶
func Setup(appConfig *Config, authConfig *internalauth.Config, db *store.Connection) (*App, error)
type Config ¶
type Config struct { BaseURL string `` /* 163-byte string literal not displayed */ TokenKey string `long:"token_key" description:"32 bytes that are used to encrypt and sign set-cookie and redirect tokens." env:"TOKEN_KEY"` CookieDomain string `long:"cookie_domain" description:"Domain to set cookies for" env:"COOKIE_DOMAIN"` }
Click to show internal directories.
Click to hide internal directories.