Documentation ¶
Index ¶
- func AuthenticateServiceAccountUser(enabled bool, serviceAccountPassword string, serviceAccountUsername string, ...) (v3.Principal, []v3.Principal, map[string]string, error)
- func EscapeLDAPSearchFilter(filter string) string
- func GetGroupSearchAttributes(memberOfAttribute, objectClassAttribute string, ...) []string
- func GetGroupSearchAttributesForLDAP(config *v3.LdapConfig) []string
- func GetUserExternalID(username string, loginDomain string) string
- func GetUserSearchAttributes(memberOfAttribute, objectClassAttribute string, ...) []string
- func GetUserSearchAttributesForLDAP(config *v3.LdapConfig) []string
- func HasPermission(attributes []*ldapv2.EntryAttribute, userObjectClass string, ...) bool
- func IsType(search []*ldapv2.EntryAttribute, varType string) bool
- func NewLDAPConn(servers []string, TLS bool, port int64, connectionTimeout int64, ...) (*ldapv2.Conn, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeLDAPSearchFilter ¶
func GetGroupSearchAttributes ¶
func GetGroupSearchAttributes(memberOfAttribute, objectClassAttribute string, config *v3.ActiveDirectoryConfig) []string
func GetGroupSearchAttributesForLDAP ¶
func GetGroupSearchAttributesForLDAP(config *v3.LdapConfig) []string
func GetUserExternalID ¶
func GetUserSearchAttributes ¶
func GetUserSearchAttributes(memberOfAttribute, objectClassAttribute string, config *v3.ActiveDirectoryConfig) []string
func GetUserSearchAttributesForLDAP ¶
func GetUserSearchAttributesForLDAP(config *v3.LdapConfig) []string
func HasPermission ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.