Versions in this module Expand all Collapse all v1 v1.0.1 Mar 11, 2023 v1.0.0 Mar 11, 2023 Changes in this version + const AuthBasicUsernameAndPassword + const AuthFail + const AuthOK + const AuthSASLLogin + const AuthSASLPlain + const PerformAuthentication + const QueryImplements + type DiscoDoveAuthPlugin interface + AuthBasicUsernamePassword func(authcid string, authzid string, password string) (string, error) + Implements func() []int + Initialize func(name string, syslogFacility syslog.Priority, conf *viper.Viper) error + type DiscoDoveAuthRequest struct + AuthType int + CommsPort *textproto.Conn + Password string + RequestType int + ResponseChan chan DiscoDoveAuthResponse + Username string + type DiscoDoveAuthResponse struct + AuthResult int + AuthedUser string + Implements []int + type DiscoDoveAuthService interface + AuthSASLLogin func(port *textproto.Conn) (string, error) + AuthSASLPlain func(port *textproto.Conn) (string, error) + AuthUsernamePassword func(username string, password string) (string, error) + Implements func(authMethod int) bool