Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrUserNotFound defines an error raised when the user is not found via LDAP search // or that too many entries (> 1) are returned. ErrUserNotFound = baasapi.Error("User not found or too many entries returned") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct{}
Service represents a service used to authenticate users against a LDAP/AD.
func (*Service) AuthenticateUser ¶
AuthenticateUser is used to authenticate a user against a LDAP/AD.
func (*Service) GetUserGroups ¶
GetUserGroups is used to retrieve user groups from LDAP/AD.
func (*Service) TestConnectivity ¶
TestConnectivity is used to test a connection against the LDAP server using the credentials specified in the LDAPSettings.
Click to show internal directories.
Click to hide internal directories.