Versions in this module Expand all Collapse all v1 v1.4.25 Sep 24, 2021 Changes in this version + type AuthServer struct + Address string + IgnoreCertErrors bool + Port string + 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 + type Backend struct + Authenticator *Authenticator + Config *Config + func NewDatabaseBackend(cfg *Config, logger *zap.Logger) *Backend + func (b *Backend) Authenticate(r *requests.Request) error + func (b *Backend) Configure() error + func (b *Backend) GetConfig() string + func (b *Backend) GetMethod() string + func (b *Backend) GetName() string + func (b *Backend) GetRealm() string + func (b *Backend) Request(op operator.Type, r *requests.Request) error + func (b *Backend) Validate() error + type Config struct + Attributes UserAttributes + BindPassword string + BindUsername string + Groups []UserGroup + Method string + Name string + Realm string + SearchBaseDN string + SearchFilter string + Servers []AuthServer + TrustedAuthorities []string + type UserAttributes struct + Email string + MemberOf string + Name string + Surname string + Username string + type UserGroup struct + GroupDN string + Roles []string