Documentation TYPO3 par Ameos |
Definition at line 89 of file class.t3lib_userauth.php.
|
Checks if a submission of username and password is present
Definition at line 261 of file class.t3lib_userauth.php. References t3lib_div::_GP(), t3lib_div::_POST(), checkLogFailures(), t3lib_div::getIndpEnv(), hashLockClause_getHashInt(), ipLockClause_remoteIPNumber(), logoff(), and writelog(). |
|
Checks if a submission of username and password is present
Definition at line 261 of file class.t3lib_userauth.php. References t3lib_div::_GP(), t3lib_div::_POST(), checkLogFailures(), t3lib_div::getIndpEnv(), hashLockClause_getHashInt(), ipLockClause_remoteIPNumber(), logoff(), and writelog(). Referenced by start(). |
|
DUMMY: Check login failures (in some extension classes)
Definition at line 567 of file class.t3lib_userauth.php. |
|
DUMMY: Check login failures (in some extension classes)
Definition at line 567 of file class.t3lib_userauth.php. Referenced by check_authentication(). |
|
Garbage collector, removing old expired sessions.
Definition at line 441 of file class.t3lib_userauth.php. |
|
Garbage collector, removing old expired sessions.
Definition at line 441 of file class.t3lib_userauth.php. Referenced by start(). |
|
Gets module data for a module (from a loaded ->uc array)
Definition at line 605 of file class.t3lib_userauth.php. |
|
Gets module data for a module (from a loaded ->uc array)
Definition at line 605 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 618 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 618 of file class.t3lib_userauth.php. |
|
This returns the where-clause needed to lock a user to a hash integer
Definition at line 508 of file class.t3lib_userauth.php. |
|
This returns the where-clause needed to lock a user to a hash integer
Definition at line 508 of file class.t3lib_userauth.php. |
|
Creates hash integer to lock user to. Depends on configured keywords
Definition at line 519 of file class.t3lib_userauth.php. References t3lib_div::inList(), and t3lib_div::md5int(). |
|
Creates hash integer to lock user to. Depends on configured keywords
Definition at line 519 of file class.t3lib_userauth.php. References t3lib_div::inList(), and t3lib_div::md5int(). Referenced by check_authentication(). |
|
This returns the where-clause needed to lock a user to the IP address
Definition at line 469 of file class.t3lib_userauth.php. |
|
This returns the where-clause needed to lock a user to the IP address
Definition at line 469 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 487 of file class.t3lib_userauth.php. References t3lib_div::getIndpEnv(), and t3lib_div::intInRange(). |
|
Returns the IP address to lock to. The IP address may be partial based on $parts.
Definition at line 487 of file class.t3lib_userauth.php. References t3lib_div::getIndpEnv(), and t3lib_div::intInRange(). Referenced by check_authentication(). |
|
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 426 of file class.t3lib_userauth.php. |
|
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 426 of file class.t3lib_userauth.php. Referenced by check_authentication(), and start(). |
|
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 592 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 592 of file class.t3lib_userauth.php. |
|
Redirect to somewhere. Obsolete, depreciated etc.
Definition at line 413 of file class.t3lib_userauth.php. |
|
Redirect to somewhere. Obsolete, depreciated etc.
Definition at line 413 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 631 of file class.t3lib_userauth.php. |
|
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 631 of file class.t3lib_userauth.php. |
|
Raw initialization of the be_user with username=$name
Definition at line 663 of file class.t3lib_userauth.php. |
|
Raw initialization of the be_user with username=$name
Definition at line 663 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 650 of file class.t3lib_userauth.php. |
|
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 650 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 159 of file class.t3lib_userauth.php. References $id, t3lib_div::_GET(), check_authentication(), gc(), t3lib_div::intInRange(), logoff(), and redirect(). |
|
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 159 of file class.t3lib_userauth.php. References $id, t3lib_div::_GET(), check_authentication(), gc(), t3lib_div::intInRange(), logoff(), 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 576 of file class.t3lib_userauth.php. |
|
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 576 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 455 of file class.t3lib_userauth.php. |
|
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 455 of file class.t3lib_userauth.php. |
|
DUMMY: Writes to log database table (in some extension classes)
Definition at line 558 of file class.t3lib_userauth.php. |
|
DUMMY: Writes to log database table (in some extension classes)
Definition at line 558 of file class.t3lib_userauth.php. Referenced by check_authentication(). |
|
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 535 of file class.t3lib_userauth.php. |
|
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 535 of file class.t3lib_userauth.php. Referenced by t3lib_beUserAuth::backendSetUC(), and t3lib_tsfeBeUserAuth::extSaveFeAdminConfig(). |
|
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 101 of file class.t3lib_userauth.php. |