Documentation ¶
Index ¶
- func Argon2CompareHashAndPassword(hash string, password []byte) error
- func Argon2MakeNewHash(password []byte) (string, error)
- func CheckHtpasswdUserPassword(username string, password string, htpasswdBytes []byte) (bool, error)
- func CheckLDAPConnection(u url.URL, timeoutSecs uint, rootCAs *x509.CertPool) error
- func CheckLDAPUserPassword(u url.URL, bindDN string, bindPassword string, timeoutSecs uint, ...) (bool, error)
- func GetLDAPUserAttributes(u url.URL, bindDN string, bindPassword string, timeoutSecs uint, ...) (map[string][]string, error)
- func GetLDAPUserGroups(u url.URL, bindDN string, bindPassword string, timeoutSecs uint, ...) ([]string, error)
- func ParseLDAPURL(ldapUrl string) (*url.URL, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Argon2CompareHashAndPassword ¶ added in v1.4.3
We only support argon2d as is the only pure golang implementation
func Argon2MakeNewHash ¶ added in v1.4.3
func CheckLDAPConnection ¶ added in v1.4.12
func CheckLDAPUserPassword ¶
func GetLDAPUserAttributes ¶ added in v1.4.3
func GetLDAPUserGroups ¶ added in v0.6.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.