Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultClient *LdapClient ErrLdapAuthFail = errors.New("user does not exist or too many entries returned") ErrLdapUnInit = errors.New("ldap is not initialized") )
Functions ¶
func Authenticate ¶
func InitLdap ¶
func InitLdap(c *LdapConfig)
Types ¶
type LdapClient ¶
type LdapClient struct {
*LdapConfig
}
func (*LdapClient) Authenticate ¶
func (c *LdapClient) Authenticate(username, password string) error
Click to show internal directories.
Click to hide internal directories.