‪TYPO3CMS  ‪main
TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData Class Reference

Public Member Functions

 __construct (string $loginMode='BE', string $currentPasswordHash='', string $newUsername='', string $newUserFirstName='', string $newUserLastName='', string $newUserFullName='',)
 
 getLoginMode ()
 
 getCurrentPasswordHash ()
 
 getNewUsername ()
 
 getNewUserFirstName ()
 
 getNewUserLastName ()
 
 getNewUserFullName ()
 
 getData (string $key)
 
 setData (string $key, string $value)
 

Protected Attributes

array $data = []
 

Detailed Description

Class with context data used in password validators. Uses internally an array with key/value pairs to store data. Extensions authors using this class should use setData() and getData() to write or read custom data used in custom password validators.

only to be used within ext:core, not part of TYPO3 Core API.

Definition at line 27 of file ContextData.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::__construct ( string  $loginMode = 'BE',
string  $currentPasswordHash = '',
string  $newUsername = '',
string  $newUserFirstName = '',
string  $newUserLastName = '',
string  $newUserFullName = '' 
)

Definition at line 31 of file ContextData.php.

Member Function Documentation

◆ getCurrentPasswordHash()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::getCurrentPasswordHash ( )

◆ getData()

◆ getLoginMode()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::getLoginMode ( )

◆ getNewUserFirstName()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::getNewUserFirstName ( )

◆ getNewUserFullName()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::getNewUserFullName ( )

◆ getNewUserLastName()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::getNewUserLastName ( )

◆ getNewUsername()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::getNewUsername ( )

◆ setData()

TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::setData ( string  $key,
string  $value 
)

Definition at line 82 of file ContextData.php.

Member Data Documentation

◆ $data

array TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData::$data = []
protected

Definition at line 29 of file ContextData.php.