TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rsaauth\RsaAuthService Class Reference
Inheritance diagram for TYPO3\CMS\Rsaauth\RsaAuthService:
TYPO3\CMS\Sv\AuthenticationService TYPO3\CMS\Sv\AbstractAuthenticationService TYPO3\CMS\Core\Service\AbstractService tx_rsaauth_sv1

Public Member Functions

 init ()
 
- Public Member Functions inherited from TYPO3\CMS\Sv\AuthenticationService
 processLoginData (array &$loginData, $passwordTransmissionStrategy)
 
 getUser ()
 
 authUser (array $user)
 
 getGroups ($user, $knownGroups)
 
 getSubGroups ($grList, $idList='', &$groups)
 
- Public Member Functions inherited from TYPO3\CMS\Sv\AbstractAuthenticationService
 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='')
 
- Public Member Functions inherited from TYPO3\CMS\Core\Service\AbstractService
 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

 $extKey = 'rsaauth'
 
 $prefixId = 'tx_rsaauth_sv1'
 
 $scriptRelPath = 'sv1/class.tx_rsaauth_sv1.php'
 
- Public Attributes inherited from TYPO3\CMS\Sv\AbstractAuthenticationService
 $pObj
 
 $mode
 
 $login = array()
 
 $authInfo = array()
 
 $db_user = array()
 
 $db_groups = array()
 
 $writeAttemptLog = FALSE
 
 $writeDevLog = FALSE
 
- Public Attributes inherited from TYPO3\CMS\Core\Service\AbstractService
 $info = array()
 
 $error = array()
 
 $writeDevLog = FALSE
 
 $out = ''
 
 $inputFile = ''
 
 $inputContent = ''
 
 $inputType = ''
 
 $outputFile = ''
 
 $tempFiles = array()
 

Protected Attributes

 $backend = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Core\Service\AbstractService
 $shutdownRegistry = array()
 
 $prefixId = ''
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Service "RSA authentication" for the "rsaauth" extension. This service will authenticate a user using hos password encoded with one time public key. It uses the standard TYPO3 service to do all dirty work. Firsts, it will decode the password and then pass it to the parent service ('sv'). This ensures that it always works, even if other TYPO3 internals change.

Author
Dmitry Dulepov dmitr.nosp@m.y@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 27 of file RsaAuthService.php.

Member Function Documentation

◆ init()

TYPO3\CMS\Rsaauth\RsaAuthService::init ( )

Initializes the service.

Returns
boolean

Definition at line 103 of file RsaAuthService.php.

Member Data Documentation

◆ $backend

TYPO3\CMS\Rsaauth\RsaAuthService::$backend = NULL
protected

Definition at line 34 of file RsaAuthService.php.

◆ $extKey

TYPO3\CMS\Rsaauth\RsaAuthService::$extKey = 'rsaauth'

Definition at line 42 of file RsaAuthService.php.

◆ $prefixId

TYPO3\CMS\Rsaauth\RsaAuthService::$prefixId = 'tx_rsaauth_sv1'

Definition at line 50 of file RsaAuthService.php.

◆ $scriptRelPath

TYPO3\CMS\Rsaauth\RsaAuthService::$scriptRelPath = 'sv1/class.tx_rsaauth_sv1.php'

Definition at line 58 of file RsaAuthService.php.