_init()
change_password()
create_login_hash()
create_user()
delete_user()
force_login()
get()
get_email()
get_groups()
get_profile_fields()
get_screen_name()
get_user()
get_user_id()
guest_login()
has_access()
login()
logout()
reset_password()
update_user()
validate_user()
perform_check()
$config
$permissions
$user
OrmAuth ORM driven login driver
| package | Fuel |
|---|---|
| subpackage | Auth |
_init()
change_password($old_password, $new_password, string $username) : bool
string
string
stringusername or null for current user
boolcreate_login_hash() : string
stringcreate_user($username, $password, string $email, int $group, array $profile_fields) : bool
string
string
stringmust contain valid email address
intgroup id
Array
booldelete_user($username) : bool
string
boolforce_login($user_id) : bool
string
boolget(string $field, mixed $default) : mixed
stringname of the user field to return
mixedvalue to return if the field requested does not exist
mixedget_email() : string
stringget_groups() : Array
Arraycontaining the group driver ID & the user's group IDget_profile_fields($field, $default) : Array
Arrayget_screen_name() : string
stringget_user() : mixed
mixedModel\Auth_User object, or false if no user is setget_user_id() : Array
Arraycontaining this driver's ID & the user's IDguest_login()
has_access($condition, $driver, $user)
login($username_or_email, $password) : bool
string
string
boollogout() : bool
boolreset_password(string $username) : string
To be used for resetting a user's forgotten password, should be emailed afterwards.
string
stringupdate_user(Array $values, $username) : bool
Arrayproperties to be updated including profile fields
string
boolvalidate_user($username_or_email, $password) : bool
boolperform_check() : bool
bool$config : array
$user : \Model\Auth_User