Versions in this module Expand all Collapse all v1 v1.0.47 Feb 6, 2024 Changes in this version + type AuthServer struct + Address string + Encrypted bool + IgnoreCertErrors bool + Port string + PosixGroups bool + Timeout int + URL *url.URL + type Authenticator struct + func NewAuthenticator() *Authenticator + func (sa *Authenticator) AuthenticateUser(r *requests.Request) error + func (sa *Authenticator) ConfigureBindCredentials(cfg *Config) error + func (sa *Authenticator) ConfigureRealm(cfg *Config) error + func (sa *Authenticator) ConfigureSearch(cfg *Config) error + func (sa *Authenticator) ConfigureServers(cfg *Config) error + func (sa *Authenticator) ConfigureTrustedAuthorities(cfg *Config) error + func (sa *Authenticator) ConfigureUserGroups(cfg *Config) error + func (sa *Authenticator) IdentifyUser(r *requests.Request) error + type Config struct + Attributes UserAttributes + BindPassword string + BindUsername string + ContactSupportEnabled bool + FallbackRoles []string + Groups []UserGroup + LoginIcon *icons.LoginIcon + Name string + PasswordRecoveryEnabled bool + Realm string + RegistrationEnabled bool + SearchBaseDN string + SearchGroupFilter string + SearchUserFilter string + Servers []AuthServer + SupportEmail string + SupportLink string + TrustedAuthorities []string + UsernameRecoveryEnabled bool + func (cfg *Config) Validate() error + type IdentityStore struct + func NewIdentityStore(cfg *Config, logger *zap.Logger) (*IdentityStore, error) + func (b *IdentityStore) Authenticate(r *requests.Request) error + func (b *IdentityStore) Configure() error + func (b *IdentityStore) Configured() bool + func (b *IdentityStore) GetConfig() map[string]interface{} + func (b *IdentityStore) GetKind() string + func (b *IdentityStore) GetLoginIcon() *icons.LoginIcon + func (b *IdentityStore) GetName() string + func (b *IdentityStore) GetRealm() string + func (b *IdentityStore) IdentifyUser(r *requests.Request) error + func (b *IdentityStore) Request(op operator.Type, r *requests.Request) error + type UserAttributes struct + Email string + MemberOf string + Name string + Surname string + Username string + type UserGroup struct + GroupDN string + Roles []string