2023-08-04 13:34:18 +02:00
|
|
|
package model
|
|
|
|
|
|
|
|
type Error struct {
|
|
|
|
Code int `json:"Code"`
|
|
|
|
Message string `json:"Message"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Settings struct {
|
2025-05-18 19:49:31 +02:00
|
|
|
MailLinkOnly bool `json:"MailLinkOnly"`
|
|
|
|
PersistentConfigSupported bool `json:"PersistentConfigSupported"`
|
|
|
|
SelfProvisioning bool `json:"SelfProvisioning"`
|
|
|
|
ApiAdminOnly bool `json:"ApiAdminOnly"`
|
|
|
|
WebAuthnEnabled bool `json:"WebAuthnEnabled"`
|
|
|
|
MinPasswordLength int `json:"MinPasswordLength"`
|
|
|
|
AvailableBackends []SettingsBackendNames `json:"AvailableBackends"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type SettingsBackendNames struct {
|
|
|
|
Id string `json:"Id"`
|
|
|
|
Name string `json:"Name"`
|
2023-08-04 13:34:18 +02:00
|
|
|
}
|