extends |
Hm_Auth |
|---|
Authenticate against an included DB
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
check_credentials(string $user, string $pass): bool
Send the username and password to the configured DB for authentication
Send the username and password to the configured DB for authentication Parameters
Returnstrue if authentication worked Overriden byImplements |
# | ||||
public
|
delete(string $user): bool
Delete a user account from the db
Delete a user account from the db Parameters
Returnstrue if successful |
# | ||||
protected
|
connect(): bool
Create a new or re-use an existing DB connection
Create a new or re-use an existing DB connection Returnstrue if the connection is available |
# | ||||
public
|
change_pass(string $user, string $pass): bool
Change the password for a user in the DB
Change the password for a user in the DB Parameters
Returnstrue on success |
# | ||||
public
|
create(string $user, string $pass): integer
Create a new user in the DB
Create a new user in the DB Parameters
|
# | ||||
| Methods inherited from Hm_Auth |
|---|
__construct(), save_auth_detail() |
| Properties | |||
|---|---|---|---|
public
static
|
|
$internal_users = true
|
# |
public
|
|
$dbh
|
# |
| Properties inherited from Hm_Auth |
|---|
$site_config, |