Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LdapAuthentication ¶
type LdapAuthentication struct { LDAPConn *ldap.Conn // contains filtered or unexported fields }
func New ¶
func New(svr user.UserService) *LdapAuthentication
func (*LdapAuthentication) Authenticate ¶
func (l *LdapAuthentication) Authenticate(username string, password string) (interface{}, error)
func (*LdapAuthentication) Close ¶
func (l *LdapAuthentication) Close()
func (*LdapAuthentication) ConnectToServer ¶
func (l *LdapAuthentication) ConnectToServer()
Click to show internal directories.
Click to hide internal directories.