AuthManager
class AuthManager extends Component
AuthManager manages central email/password authentication for web interaction. API authentication is state-less and handled by the ApiKeyListener.
Methods
boolean
check(array $creds, boolean $checkOnly = false)
Check credentials as defined as an array containing: * email * password
boolean
isLoggedIn()
Determine if user is logged in
string
getUserId()
Returns the id of the user
remove()
Reset the session and private data bag.
Details
at line line 22
boolean
check(array $creds, boolean $checkOnly = false)
Check credentials as defined as an array containing: * email * password
at line line 68
boolean
isLoggedIn()
Determine if user is logged in
at line line 81
User
getUser()
Fetch user for associated session
at line line 106
string
getUserId()
Returns the id of the user
at line line 115
remove()
Reset the session and private data bag.
Effectively logs the user out.