‪TYPO3CMS  9.5
TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility Class Reference
Inheritance diagram for TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility:
TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility

Static Public Member Functions

static int getNumberOfBackendUsersWithInsecurePassword ()
 
static array returnExtConf ($mode=TYPO3_MODE)
 
static array returnExtConfDefaults ()
 
static string getDefaultSaltingHashingMethod ($mode=TYPO3_MODE)
 
static bool isUsageEnabled ()
 

Public Attributes

const EXTKEY = 'saltedpasswords'
 

Detailed Description

General library class.

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 26 of file SaltedPasswordsUtility.php.

Member Function Documentation

◆ getDefaultSaltingHashingMethod()

static string TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility::getDefaultSaltingHashingMethod (   $mode = TYPO3_MODE)
static

◆ getNumberOfBackendUsersWithInsecurePassword()

static int TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility::getNumberOfBackendUsersWithInsecurePassword ( )
static

Calculates number of backend users, who have no saltedpasswords protection.

Returns
‪int
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 41 of file SaltedPasswordsUtility.php.

Referenced by TYPO3\CMS\Core\Tests\Functional\Crypto\PasswordHashing\Utility\SaltedPasswordsUtilityTest\checkIfNumberOfBackendUsersWithInsecurePasswordsIsFetchedCorrectly().

◆ isUsageEnabled()

static bool TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility::isUsageEnabled ( )
static

Returns information if salted password hashes are indeed used in the TYPO3_MODE.

Returns
‪bool TRUE, if salted password hashes are used in the TYPO3_MODE, otherwise FALSE
Deprecated:
‪in TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 126 of file SaltedPasswordsUtility.php.

◆ returnExtConf()

static array TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility::returnExtConf (   $mode = TYPO3_MODE)
static

Returns extension configuration data from $TYPO3_CONF_VARS (configurable in Extension Manager)

Parameters
string$mode‪TYPO3_MODE, whether Configuration for Frontend or Backend should be delivered
Returns
‪array Extension configuration data
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 68 of file SaltedPasswordsUtility.php.

References $GLOBALS, and TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility\returnExtConfDefaults().

Referenced by TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility\getDefaultSaltingHashingMethod(), and TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordService\init().

◆ returnExtConfDefaults()

static array TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility::returnExtConfDefaults ( )
static

Returns default configuration of this extension.

Returns
‪array Default extension configuration data for localconf.php
Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 88 of file SaltedPasswordsUtility.php.

Referenced by TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility\returnExtConf().

Member Data Documentation

◆ EXTKEY

const TYPO3\CMS\Core\Crypto\PasswordHashing\SaltedPasswordsUtility::EXTKEY = 'saltedpasswords'

Keeps this extension's key.

Deprecated:
‪since TYPO3 v9, will be removed in TYPO3 v10.0

Definition at line 33 of file SaltedPasswordsUtility.php.