Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UserNotFoundError = fmt.Errorf("user was not found") MultipleUsersFoundError = fmt.Errorf("multiple users was found") )
Functions ¶
This section is empty.
Types ¶
type SimpleConnector ¶
type SimpleConnector struct {
Config *config.LDAPConfig
}
func (SimpleConnector) Connect ¶
func (c SimpleConnector) Connect() (Session, error)
type SimpleSession ¶
type SimpleSession struct { IDAttribute string BaseDN string // contains filtered or unexported fields }
func (*SimpleSession) Close ¶
func (c *SimpleSession) Close() error
func (*SimpleSession) GetUserAttributes ¶
func (*SimpleSession) LoginTest ¶
func (c *SimpleSession) LoginTest(username, password string) error
Click to show internal directories.
Click to hide internal directories.