Files
opencloud/extensions/glauth/pkg/config/ldaps.go
Christian Richter d4442941a1 refactor glauth
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00

11 lines
347 B
Go

package config
// Ldaps defined the available LDAPS configuration.
type Ldaps struct {
Enabled bool `yaml:"enabled" env:"GLAUTH_LDAPS_ENABLED"`
Addr string `yaml:"addr" env:"GLAUTH_LDAPS_ADDR"`
Namespace string `yaml:"-"`
Cert string `yaml:"cert" env:"GLAUTH_LDAPS_CERT"`
Key string `yaml:"key" env:"GLAUTH_LDAPS_KEY"`
}