"TYPO3 4.0.1: t3lib_userAuth Class Reference", "datetime" => "Sat Dec 2 19:26:35 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
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 329 of file class.t3lib_userauth.php. References t3lib_div::arrayToLogString(), 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 1095 of file class.t3lib_userauth.php. |
|
Check the login data with the user record data for builtin login methods
Definition at line 1011 of file class.t3lib_userauth.php. References t3lib_div::devLog(). |
|
Creates a user session record.
Definition at line 569 of file class.t3lib_userauth.php. References t3lib_div::devLog(). Referenced by checkAuthentication(). |
|
Get a user from DB by username provided for usage from services
Definition at line 1188 of file class.t3lib_userauth.php. |
|
Read the user session from db.
Definition at line 606 of file class.t3lib_userauth.php. References t3lib_div::devLog(). Referenced by checkAuthentication(), and start(). |
|
Garbage collector, removing old expired sessions.
Definition at line 1050 of file class.t3lib_userauth.php. Referenced by start(). |
|
Returns an info array which provides additional information for auth services
Definition at line 981 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 912 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 853 of file class.t3lib_userauth.php. |
|
Fetching raw user record with username=$name
Definition at line 1149 of file class.t3lib_userauth.php. |
|
Fetching raw user record with uid=$uid
Definition at line 1131 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 866 of file class.t3lib_userauth.php. |
|
This returns the where-clause needed to lock a user to a hash integer
Definition at line 766 of file class.t3lib_userauth.php. |
|
Creates hash integer to lock user to. Depends on configured keywords
Definition at line 777 of file class.t3lib_userauth.php. References t3lib_div::inList(), and t3lib_div::md5int(). |
|
This returns the where-clause needed to lock a user to the IP address
Definition at line 727 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 745 of file class.t3lib_userauth.php. References t3lib_div::getIndpEnv(), and t3lib_div::intInRange(). |
|
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 657 of file class.t3lib_userauth.php. References t3lib_div::callUserFunction(), and t3lib_div::devLog(). Referenced by checkAuthentication(). |
|
Processes Login data submitted by a form or params depending on the security_level
Definition at line 939 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 840 of file class.t3lib_userauth.php. |
|
Redirect to somewhere. Obsolete, deprecated etc.
Definition at line 1064 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 879 of file class.t3lib_userauth.php. References t3lib_div::devLog(). |
|
Raw initialization of the be_user with username=$name
Definition at line 1120 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 1108 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::getIndpEnv(), t3lib_div::intInRange(), redirect(), and t3lib_div::sysLog(). |
|
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 824 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 713 of file class.t3lib_userauth.php. |
|
DUMMY: Writes to log database table (in some extension classes)
Definition at line 1086 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 809 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. |