Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoUserFound = errors.New("no LDAP entries found for user")
)
Functions ¶
This section is empty.
Types ¶
type LDAPClient ¶
type LDAPClient interface {
GetUserLDAPData(ctx context.Context, userID string) (map[string]interface{}, error)
}
func InitLdap ¶
func InitLdap(ldapConfig LDAP) (LDAPClient, error)
InitLdap initializes a connection to the LDAP server using the provided configuration.
type LDAPConn ¶
type LDAPConn struct {
// contains filtered or unexported fields
}
type LDAPConnClient ¶
Click to show internal directories.
Click to hide internal directories.