This commit is contained in:
Stavros
2025-03-15 17:44:41 +02:00
parent 52f189563b
commit 0c91465c63
6 changed files with 725 additions and 695 deletions

View File

@@ -69,15 +69,12 @@ type UserContext struct {
// APIConfig is the configuration for the API
type APIConfig struct {
Port int
Address string
Secret string
AppURL string
CookieSecure bool
SessionExpiry int
DisableContinue bool
GenericName string
Title string
Port int
Address string
Secret string
CookieSecure bool
SessionExpiry int
Domain string
}
// OAuthConfig is the configuration for the providers
@@ -164,3 +161,13 @@ type AppContext struct {
type TotpRequest struct {
Code string `json:"code"`
}
// Server configuration
type HandlersConfig struct {
AppURL string
Domain string
CookieSecure bool
DisableContinue bool
GenericName string
Title string
}