![]() |
TYPO3
7.6
|
Public Member Functions | |
initAuth ($mode, $loginData, $authInfo, $pObj) | |
compareUident (array $user, array $loginData, $passwordCompareStrategy= '') | |
writelog ($type, $action, $error, $details_nr, $details, $data, $tablename= '', $recuid= '', $recpid= '') | |
fetchUserRecord ($username, $extraWhere= '', $dbUserSetup= '') | |
![]() | |
getServiceInfo () | |
getServiceKey () | |
getServiceTitle () | |
getServiceOption ($optionName, $defaultValue= '', $includeDefaultConfig=true) | |
devLog ($msg, $severity=0, $dataVar=false) | |
errorPush ($errNum=T3_ERR_SV_GENERAL, $errMsg= 'Unspecified error occurred') | |
errorPull () | |
getLastError () | |
getLastErrorMsg () | |
getErrorMsgArray () | |
getLastErrorArray () | |
resetErrors () | |
checkExec ($progList) | |
deactivateService () | |
checkInputFile ($absFile) | |
readFile ($absFile, $length=0) | |
writeFile ($content, $absFile= '') | |
tempFile ($filePrefix) | |
registerTempFile ($absFile) | |
unlinkTempFiles () | |
setInput ($content, $type= '') | |
setInputFile ($absFile, $type= '') | |
getInput () | |
getInputFile ($createFile= '') | |
setOutputFile ($absFile) | |
getOutput () | |
getOutputFile ($absFile= '') | |
init () | |
reset () | |
__destruct () | |
Public Attributes | |
$pObj | |
$mode | |
$login = array() | |
$authInfo = array() | |
$db_user = array() | |
$db_groups = array() | |
$writeAttemptLog = false | |
$writeDevLog = false | |
![]() | |
$info = array() | |
$error = array() | |
$writeDevLog = false | |
$out = '' | |
$inputFile = '' | |
$inputContent = '' | |
$inputType = '' | |
$outputFile = '' | |
$tempFiles = array() | |
Additional Inherited Members | |
![]() | |
$shutdownRegistry = array() | |
$prefixId = '' | |
Authentication services class
Definition at line 23 of file AbstractAuthenticationService.php.
compareUident | ( | array | $user, |
array | $loginData, | ||
$passwordCompareStrategy = '' |
|||
) |
Check the login data with the user record data for builtin login methods
array | $user | User data array |
array | $loginData | Login data array |
string | $passwordCompareStrategy | Password compare strategy |
Definition at line 111 of file AbstractAuthenticationService.php.
Referenced by AuthenticationService\authUser().
fetchUserRecord | ( | $username, | |
$extraWhere = '' , |
|||
$dbUserSetup = '' |
|||
) |
Get a user from DB by username
string | $username | User name |
string | $extraWhere | Additional WHERE clause: " AND ... |
array | string | $dbUserSetup | User db table definition, or empty string for $this->db_user |
Definition at line 145 of file AbstractAuthenticationService.php.
References AbstractAuthenticationService\$db_user.
Referenced by AuthenticationService\getUser().
initAuth | ( | $mode, | |
$loginData, | |||
$authInfo, | |||
$pObj | |||
) |
Initialize authentication service
string | $mode | Subtype of the service which is used to call the service. |
array | $loginData | Submitted login form data |
array | $authInfo | Information array. Holds submitted form data etc. |
AbstractUserAuthentication | $pObj | Parent object |
Definition at line 90 of file AbstractAuthenticationService.php.
References AbstractAuthenticationService\$authInfo, AbstractAuthenticationService\$mode, AbstractAuthenticationService\$pObj, and AbstractService\getServiceOption().
writelog | ( | $type, | |
$action, | |||
$error, | |||
$details_nr, | |||
$details, | |||
$data, | |||
$tablename = '' , |
|||
$recuid = '' , |
|||
$recpid = '' |
|||
) |
Writes to log database table in pObj
int | $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 |
int | $action | denotes which specific operation that wrote the entry (eg. 'delete', 'upload', 'update' and so on...). Specific for each $type. Also used to trigger update of the interface. (see the log-module for the meaning of each number !!) |
int | $error | flag. 0 = message, 1 = error (user problem), 2 = System Error (which should not happen), 3 = security notice (admin) |
int | $details_nr | The message number. Specific for each $type and $action. in the future this will make it possible to translate error messages to other languages |
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 | $tablename | Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) |
int | string | $recuid | Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) |
int | string | $recpid | Special field used by tce_main.php. These ($tablename, $recuid, $recpid) holds the reference to the record which the log-entry is about. (Was used in attic status.php to update the interface.) |
Definition at line 130 of file AbstractAuthenticationService.php.
References AbstractService\$error.
Referenced by AuthenticationService\authUser(), SaltedPasswordService\authUser(), and AuthenticationService\getUser().
$authInfo = array() |
Definition at line 51 of file AbstractAuthenticationService.php.
Referenced by AbstractAuthenticationService\initAuth().
$db_groups = array() |
Definition at line 65 of file AbstractAuthenticationService.php.
$db_user = array() |
Definition at line 58 of file AbstractAuthenticationService.php.
Referenced by AbstractAuthenticationService\fetchUserRecord().
$login = array() |
Definition at line 44 of file AbstractAuthenticationService.php.
$mode |
Definition at line 37 of file AbstractAuthenticationService.php.
Referenced by SaltedPasswordService\init(), and AbstractAuthenticationService\initAuth().
$pObj |
Definition at line 30 of file AbstractAuthenticationService.php.
Referenced by AbstractAuthenticationService\initAuth().
$writeAttemptLog = false |
Definition at line 72 of file AbstractAuthenticationService.php.
$writeDevLog = false |
Definition at line 79 of file AbstractAuthenticationService.php.