Documentation TYPO3 par Ameos |
Public Member Functions | |
| initAuth ($mode, $loginData, $authInfo, &$pObj) | |
| compareUident ($user, $loginData, $security_level='') | |
| writelog ($type, $action, $error, $details_nr, $details, $data, $tablename='', $recuid='', $recpid='') | |
| fetchUserRecord ($username, $extraWhere='', $dbUserSetup='') | |
Public Attributes | |
| $pObj | |
| $mode | |
| $login = array() | |
| $authInfo = array() | |
| $db_user = array() | |
| $db_groups = array() | |
| $writeAttemptLog = false | |
| $writeDevLog = false | |
Definition at line 62 of file class.tx_sv_authbase.php.
| tx_sv_authbase::initAuth | ( | $ | mode, | |
| $ | loginData, | |||
| $ | authInfo, | |||
| &$ | pObj | |||
| ) |
Initialize authentication service
| string | Subtype of the service which is used to call the service. | |
| array | Submitted login form data | |
| array | Information array. Holds submitted form data etc. | |
| object | Parent object |
Definition at line 87 of file class.tx_sv_authbase.php.
References $authInfo, $mode, $pObj, and t3lib_svbase::getServiceOption().
| tx_sv_authbase::compareUident | ( | $ | user, | |
| $ | loginData, | |||
| $ | security_level = '' | |||
| ) |
Check the login data with the user record data for builtin login methods
| array | user data array | |
| array | login data array | |
| string | security_level |
Definition at line 110 of file class.tx_sv_authbase.php.
Referenced by tx_sv_auth::authUser().
| tx_sv_authbase::writelog | ( | $ | type, | |
| $ | action, | |||
| $ | error, | |||
| $ | details_nr, | |||
| $ | details, | |||
| $ | data, | |||
| $ | tablename = '', |
|||
| $ | recuid = '', |
|||
| $ | recpid = '' | |||
| ) |
Writes to log database table in pObj
| integer | $type: denotes which module that has submitted the entry. This is the current list: 1=tce_db; 2=tce_file; 3=system (eg. sys_history save); 4=modules; 254=Personal settings changed; 255=login / out action: 1=login, 2=logout, 3=failed login (+ errorcode 3), 4=failure_warning_email sent | |
| integer |
| |
| integer | $error: flag. 0 = message, 1 = error (user problem), 2 = System Error (which should not happen), 3 = security notice (admin) | |
| integer |
| |
| string | $details: Default text that follows the message | |
| array | $data: Data that follows the log. Might be used to carry special information. If an array the first 5 entries (0-4) will be sprintf'ed the details-text... | |
| string |
| |
| integer |
| |
| integer |
|
Definition at line 129 of file class.tx_sv_authbase.php.
References t3lib_svbase::$error.
Referenced by tx_sv_auth::authUser(), and tx_sv_auth::getUser().
| tx_sv_authbase::fetchUserRecord | ( | $ | username, | |
| $ | extraWhere = '', |
|||
| $ | dbUserSetup = '' | |||
| ) |
Get a user from DB by username
| string | user name | |
| string | additional WHERE clause: " AND ... | |
| array | User db table definition: $this->db_user |
Definition at line 158 of file class.tx_sv_authbase.php.
Referenced by tx_sv_auth::getUser().
| tx_sv_authbase::$writeDevLog = false |
Defines if debug messages should be written with t3lib_div::devLog
Reimplemented from t3lib_svbase.
Definition at line 75 of file class.tx_sv_authbase.php.
1.4.6