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