Auth::getAuth() – check for an authenticated user


boolean Auth::getAuth ( )


Check if the user has been authenticated.

In previous versions, this function had a different behaviour than Auth::checkAuth()(). Now it is just an alias for Auth::checkAuth()().

Return value

boolean - If the user has already been authenticated, the function returns TRUE. Otherwise it returns FALSE.


This function can not be called statically.

check if a session with valid authentication information exists (Previous) retrieve extra information stored within the auth session (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.