lavender/conf/conf.go

20 lines
591 B
Go
Raw Permalink Normal View History

2024-08-19 22:37:30 +01:00
package conf
import (
"github.com/1f349/lavender/issuer"
2025-01-19 12:04:25 +00:00
"github.com/1f349/lavender/url"
2025-01-11 00:38:01 +00:00
"github.com/1f349/simplemail"
2024-08-19 22:37:30 +01:00
)
type Conf struct {
2024-10-06 15:50:23 +01:00
Listen string `yaml:"listen"`
2025-01-19 12:04:25 +00:00
BaseUrl url.URL `yaml:"baseUrl"`
2024-10-06 15:50:23 +01:00
ServiceName string `yaml:"serviceName"`
Issuer string `yaml:"issuer"`
Kid string `yaml:"kid"`
Namespace string `yaml:"namespace"`
OtpIssuer string `yaml:"otpIssuer"`
2025-01-11 00:38:01 +00:00
Mail simplemail.Mail `yaml:"mail"`
2024-10-06 15:50:23 +01:00
SsoServices []issuer.SsoConfig `yaml:"ssoServices"`
2024-08-19 22:37:30 +01:00
}