‪TYPO3CMS  9.5
TYPO3\CMS\Rsaauth\Hook\UserSetupHook Class Reference

Public Member Functions

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

Protected Member Functions

bool isRsaAvailable ()
 
RsaEncryptionDecoder getRsaEncryptionDecoder ()
 

Protected Attributes

RsaEncryptionDecoder $rsaEncryptionDecoder
 

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$parameters‪Parameters to the script

Definition at line 37 of file UserSetupHook.php.

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

◆ getLoginScripts()

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

Includes rsa libraries

Parameters
array$parameters‪Parameters to the script
SetupModuleController$userSetupObject‪Calling object: user setup module
Returns
‪string

Definition at line 52 of file UserSetupHook.php.

◆ getRsaEncryptionDecoder()

RsaEncryptionDecoder TYPO3\CMS\Rsaauth\Hook\UserSetupHook::getRsaEncryptionDecoder ( )
protected

◆ isRsaAvailable()

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

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

Returns
‪bool

Definition at line 64 of file UserSetupHook.php.

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

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

Member Data Documentation

◆ $rsaEncryptionDecoder

RsaEncryptionDecoder TYPO3\CMS\Rsaauth\Hook\UserSetupHook::$rsaEncryptionDecoder
protected