ContextData

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.

Internal

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

Table of Contents

Properties

$data  : array<string|int, mixed>

Methods

__construct()  : mixed
getCurrentPasswordHash()  : string
getData()  : string
getLoginMode()  : string
getNewUserFirstName()  : string
getNewUserFullName()  : string
getNewUserLastName()  : string
getNewUsername()  : string
setData()  : void

Properties

$data

protected array<string|int, mixed> $data = []

Methods

__construct()

public __construct([string $loginMode = 'BE' ][, string $currentPasswordHash = '' ][, string $newUsername = '' ][, string $newUserFirstName = '' ][, string $newUserLastName = '' ][, string $newUserFullName = '' ]) : mixed
Parameters
$loginMode : string = 'BE'
$currentPasswordHash : string = ''
$newUsername : string = ''
$newUserFirstName : string = ''
$newUserLastName : string = ''
$newUserFullName : string = ''

getCurrentPasswordHash()

public getCurrentPasswordHash() : string
Return values
string

getData()

public getData(string $key) : string
Parameters
$key : string
Return values
string

getLoginMode()

public getLoginMode() : string
Return values
string

getNewUserFirstName()

public getNewUserFirstName() : string
Return values
string

getNewUserFullName()

public getNewUserFullName() : string
Return values
string

getNewUserLastName()

public getNewUserLastName() : string
Return values
string

getNewUsername()

public getNewUsername() : string
Return values
string

setData()

public setData(string $key, string $value) : void
Parameters
$key : string
$value : string

        
On this page

Search results