TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Rsaauth\Hook\UserSetupHook Class Reference

Public Member Functions

 decryptPassword (array $parameters)
 
 getLoginScripts (array $parameters, SetupModuleController $userSetupObject)
 

Protected Member Functions

 isRsaAvailable ()
 
 getRsaEncryptionDecoder ()
 

Protected Attributes

 $rsaEncryptionDecoder = null
 

Detailed Description

This class provides a hook to the login form to add extra javascript code and supply a proper form tag.

Definition at line 26 of file UserSetupHook.php.

Member Function Documentation

◆ decryptPassword()

TYPO3\CMS\Rsaauth\Hook\UserSetupHook::decryptPassword ( array  $parameters)

Decrypt all password fields which were encrypted.

Parameters
array$parametersParameters to the script

Definition at line 38 of file UserSetupHook.php.

References TYPO3\CMS\Rsaauth\Hook\UserSetupHook\getRsaEncryptionDecoder(), and TYPO3\CMS\Rsaauth\Hook\UserSetupHook\isRsaAvailable().

◆ getLoginScripts()

TYPO3\CMS\Rsaauth\Hook\UserSetupHook::getLoginScripts ( array  $parameters,
SetupModuleController  $userSetupObject 
)

Includes rsa libraries

Parameters
array$parametersParameters to the script
SetupModuleController$userSetupObjectCalling object: user setup module
Returns
string

Definition at line 53 of file UserSetupHook.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getRsaEncryptionDecoder()

◆ isRsaAvailable()

TYPO3\CMS\Rsaauth\Hook\UserSetupHook::isRsaAvailable ( )
protected

Rsa is available if loginSecurityLevel is set and rsa backend is working.

Returns
bool

Definition at line 65 of file UserSetupHook.php.

References $GLOBALS, and TYPO3\CMS\Rsaauth\Hook\UserSetupHook\getRsaEncryptionDecoder().

Referenced by TYPO3\CMS\Rsaauth\Hook\UserSetupHook\decryptPassword().

Member Data Documentation

◆ $rsaEncryptionDecoder

TYPO3\CMS\Rsaauth\Hook\UserSetupHook::$rsaEncryptionDecoder = null
protected