check()
check(array $creds, boolean $checkOnly = false) : boolean
Check credentials as defined as an array containing: * email * password
Parameters
array | $creds | |
boolean | $checkOnly | If |
AuthManager manages central email/password authentication for web interaction. API authentication is state-less and handled by the ApiKeyListener.
getUser() : \Ceo\Core\Models\User
Fetch user for associated session
user object
setIdentity(\Ceo\Core\Models\User $user)
Pushes user identity into a private session data bag.
The session data will only be available to this class and no other.
\Ceo\Core\Models\User | $user |