TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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 ( array  $parameters)

Decrypt all password fields which were encrypted.

Parameters
array$parametersParameters to the script

Definition at line 38 of file UserSetupHook.php.

References UserSetupHook\getRsaEncryptionDecoder(), and UserSetupHook\isRsaAvailable().

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 GeneralUtility\makeInstance().

getRsaEncryptionDecoder ( )
protected
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 UserSetupHook\getRsaEncryptionDecoder().

Referenced by UserSetupHook\decryptPassword().

Member Data Documentation

$rsaEncryptionDecoder = null
protected

Definition at line 31 of file UserSetupHook.php.

Referenced by UserSetupHook\getRsaEncryptionDecoder().