Create Authentication object This function is overridable from the custom helpers/auth_helper.php
| Parameters | |||
|---|---|---|---|
string
|
$id |
PK value |
# |
object
|
$data = null |
The user data object (optional). If it is not given, auth_create will load it from db |
# |
| Returns | |
|---|---|
object|bool
|
The authenticated user object or FALSE on failure |