extends |
Hm_Auth |
|---|
Authenticate against an LDAP server
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
check_credentials(string $user, string $pass): boolean
Check a username and password
Check a username and password Parameters
Returnstrue if the user is authenticated, false otherwise Implements |
# | ||||
public
|
connect(): boolean
Connect and auth to the LDAP server
Connect and auth to the LDAP server |
# | ||||
protected
|
auth(): boolean
Authenticate to the LDAP server
|
# | ||||
| Methods inherited from Hm_Auth |
|---|
__construct(), save_auth_detail() |
| Properties | |||
|---|---|---|---|
protected
|
|
$config = []
|
# |
protected
|
|
$fh
|
# |
protected
|
|
$source = 'ldap'
|
# |
| Properties inherited from Hm_Auth |
|---|
$site_config, $internal_users |