extends |
Hm_Auth_DB |
|---|
Override the authentication class. This method needs to be overriden to create a custom authentication backend. You must set the "auth_type" setting in your config/app.php file to "custom" to activate this class. More information about the base class for authentication is located here:
https://cypht.org/docs/code_docs/class-Hm_Auth.html
This example extends the auth DB class, and simply defers the parent class method
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
check_credentials(string $user, string $pass): bool
This is the method new auth mechs need to override.
This is the method new auth mechs need to override. Parameters
Returnstrue if the user is authenticated, false otherwise Overrides |
# | ||||
| Methods inherited from Hm_Auth_DB |
|---|
delete(), connect(), change_pass(), create() |
| Methods inherited from Hm_Auth |
|---|
__construct(), save_auth_detail() |
| Properties inherited from Hm_Auth_DB |
|---|
$internal_users, $dbh |
| Properties inherited from Hm_Auth |
|---|
$site_config, |