Session handling
| Methods | ||||||
|---|---|---|---|---|---|---|
abstract
protected
|
load_auth_mech(): void
Lazy loader for the auth mech so modules can define their own
overrides
Lazy loader for the auth mech so modules can define their own overrides |
# | ||||
public
|
auth(string $user, string $pass): bool
Call the configured authentication method to check user credentials
Call the configured authentication method to check user credentials Parameters
Returnstrue if the authentication was successful |
# | ||||
public
|
save_auth_detail(): void
Save auth detail if it's needed (mech specific)
Save auth detail if it's needed (mech specific) |
# | ||||
public
|
change_pass(string $user, string $pass): bool
Call the configuration authentication method to change the user password
Call the configuration authentication method to change the user password Parameters
Returnstrue if the password was changed |
# | ||||
public
|
create(string $user, string $pass): bool
Call the configuration authentication method to create an account
Call the configuration authentication method to create an account Parameters
Returnstrue if the account was created |
# | ||||