admin_logon
class admin_logon
Properties
| protected | $username | ||
| protected | $password | ||
| protected | $auth_method | ||
| protected | $user_info | ||
| $real_name | |||
| $ip_check | |||
| $ip_allowed | |||
| $errors |
Methods
void
__construct(string $str_username, string $str_password, string $str_auth_method = 'native')
Class Constructor
void
adminValid(object $obj_db)
Method to check user validity
setupSession($obj_db)
No description
setUserInfo($user_info)
No description
getUserInfo($key = null)
No description
bool
ldapLogin()
LDAP/Active directory login
bool
nativeLogin()
Native database checking login method
bool
nativeLoginMd5()
Native database checking login method with md5 encryption
bool
changePasswd($obj_db, $new_passwd)
Update password if still use md5 encryption
Details
at line 52
void
__construct(string $str_username, string $str_password, string $str_auth_method = 'native')
Class Constructor
at line 65
void
adminValid(object $obj_db)
Method to check user validity
at line 89
setupSession($obj_db)
No description
at line 162
setUserInfo($user_info)
No description
at line 167
getUserInfo($key = null)
No description
at line 179
protected bool
ldapLogin()
LDAP/Active directory login
at line 250
protected bool
nativeLogin()
Native database checking login method
at line 299
protected bool
nativeLoginMd5()
Native database checking login method with md5 encryption
at line 325
bool
changePasswd($obj_db, $new_passwd)
Update password if still use md5 encryption