Documentation TYPO3 par Ameos |
Definition at line 111 of file class.t3lib_userauth.php.
|
Checks if a submission of username and password is present or use other authentication by auth services
Definition at line 308 of file class.t3lib_userauth.php. References t3lib_div::arrayToLogString(), checkLogFailures(), createUserSession(), t3lib_div::devLog(), fetchUserSession(), getAuthInfoArray(), t3lib_div::getIndpEnv(), getLoginFormData(), logoff(), t3lib_div::makeInstanceService(), and writelog(). Referenced by start(). |
|
DUMMY: Check login failures (in some extension classes)
Definition at line 1064 of file class.t3lib_userauth.php. Referenced by checkAuthentication(). |
|
Check the login data with the user record data for builtin login methods
Definition at line 980 of file class.t3lib_userauth.php. References t3lib_div::devLog(). |
|
Creates a user session record.
Definition at line 538 of file class.t3lib_userauth.php. References t3lib_div::devLog(), hashLockClause_getHashInt(), and ipLockClause_remoteIPNumber(). Referenced by checkAuthentication(). |
|
Get a user from DB by username provided for usage from services
Definition at line 1157 of file class.t3lib_userauth.php. |
|
Read the user session from db.
Definition at line 575 of file class.t3lib_userauth.php. References $user, t3lib_div::devLog(), and logoff(). Referenced by checkAuthentication(), and start(). |
|
Garbage collector, removing old expired sessions.
Definition at line 1019 of file class.t3lib_userauth.php. Referenced by start(). |
|
Returns an info array which provides additional information for auth services
Definition at line 950 of file class.t3lib_userauth.php. References t3lib_div::getIndpEnv(). Referenced by checkAuthentication(), and tslib_feUserAuth::fetchGroupData(). |
|
Returns an info array with Login/Logout data submitted by a form or params
Definition at line 881 of file class.t3lib_userauth.php. References t3lib_div::_GP(), and t3lib_div::_POST(). Referenced by checkAuthentication(). |
|
Gets module data for a module (from a loaded ->uc array)
Definition at line 822 of file class.t3lib_userauth.php. |
|
Fetching raw user record with username=$name
Definition at line 1118 of file class.t3lib_userauth.php. |
|
Fetching raw user record with uid=$uid
Definition at line 1100 of file class.t3lib_userauth.php. |
|
Returns the session data stored for $key. The data will last only for this login session since it is stored in the session table.
Definition at line 835 of file class.t3lib_userauth.php. |
|
This returns the where-clause needed to lock a user to a hash integer
Definition at line 735 of file class.t3lib_userauth.php. |
|
Creates hash integer to lock user to. Depends on configured keywords
Definition at line 746 of file class.t3lib_userauth.php. References t3lib_div::inList(), and t3lib_div::md5int(). Referenced by createUserSession(). |
|
This returns the where-clause needed to lock a user to the IP address
Definition at line 696 of file class.t3lib_userauth.php. |
|
Returns the IP address to lock to. The IP address may be partial based on $parts.
Definition at line 714 of file class.t3lib_userauth.php. References t3lib_div::getIndpEnv(), and t3lib_div::intInRange(). Referenced by createUserSession(). |
|
Log out current user! Removes the current session record, sets the internal ->user array to a blank string; Thereby the current user (if any) is effectively logged out!
Definition at line 626 of file class.t3lib_userauth.php. References t3lib_div::callUserFunction(), and t3lib_div::devLog(). Referenced by checkAuthentication(), and fetchUserSession(). |
|
Processes Login data submitted by a form or params depending on the security_level
Definition at line 908 of file class.t3lib_userauth.php. |
|
Stores data for a module. The data is stored with the session id so you can even check upon retrieval if the module data is from a previous session or from the current session.
Definition at line 809 of file class.t3lib_userauth.php. |
|
Redirect to somewhere. Obsolete, depreciated etc.
Definition at line 1033 of file class.t3lib_userauth.php. Referenced by start(). |
|
Sets the session data ($data) for $key and writes all session data (from ->user['ses_data']) to the database. The data will last only for this login session since it is stored in the session table.
Definition at line 848 of file class.t3lib_userauth.php. References t3lib_div::devLog(). |
|
Raw initialization of the be_user with username=$name
Definition at line 1089 of file class.t3lib_userauth.php. Referenced by t3lib_beUserAuth::checkCLIuser(). |
|
Raw initialization of the be_user with uid=$uid This will circumvent all login procedures and select a be_users record from the database and set the content of ->user to the record selected. Thus the BE_USER object will appear like if a user was authenticated - however without a session id and the fields from the session table of course. Will check the users for disabled, start/endtime, etc. ($this->user_where_clause())
Definition at line 1077 of file class.t3lib_userauth.php. |
|
Starts a user session Typical configurations will: a) check if session cookie was set and if not, set one, b) check if a password/username was sent and if so, try to authenticate the user c) Lookup a session attached to a user and check timeout etc. d) Garbage collection, setting of no-cache headers. If a user is authenticated the database record of the user (array) will be set in the ->user internal variable.
Definition at line 195 of file class.t3lib_userauth.php. References $id, t3lib_div::_GET(), t3lib_div::arrayToLogString(), t3lib_div::callUserFunction(), checkAuthentication(), t3lib_div::devLog(), fetchUserSession(), gc(), t3lib_div::intInRange(), and redirect(). |
|
Sets $theUC as the internal variable ->uc IF $theUC is an array. If $theUC is false, the 'uc' content from the ->user array will be unserialized and restored in ->uc
Definition at line 793 of file class.t3lib_userauth.php. Referenced by t3lib_beUserAuth::backendSetUC(). |
|
This returns the where-clause needed to select the user with respect flags like deleted, hidden, starttime, endtime
Reimplemented in local_beUserAuth. Definition at line 682 of file class.t3lib_userauth.php. |
|
DUMMY: Writes to log database table (in some extension classes)
Definition at line 1055 of file class.t3lib_userauth.php. Referenced by checkAuthentication(). |
|
This writes $variable to the user-record. This is a way of providing session-data. You can fetch the data again through $this->uc in this class! If $variable is not an array, $this->uc is saved!
Definition at line 778 of file class.t3lib_userauth.php. References t3lib_div::devLog(). Referenced by t3lib_beUserAuth::backendSetUC(), t3lib_tsfeBeUserAuth::extSaveFeAdminConfig(), and tslib_feUserAuth::storeSessionData(). |
|
Initial value: Array (
'rootLevel' => '', // Boolean: If true, 'AND pid=0' will be a part of the query...
'disabled' => '',
'starttime' => '',
'endtime' => '',
'deleted' => ''
)
Reimplemented in t3lib_beUserAuth, and tslib_feUserAuth. Definition at line 123 of file class.t3lib_userauth.php. |