EnrichPasswordValidationContextDataEvent

FinalYes

Event is dispatched before the `ContextData` DTO is passed to the password policy validator.

Note, that the $userData array will include user data available from the initiating class only. Event listeners should therefore always consider the initiating class name when accessing data from getUserData().

Table of Contents

Properties

$contextData  : ContextData
$initiatingClass  : string
$userData  : array<string|int, mixed>

Methods

__construct()  : mixed
getContextData()  : ContextData
getInitiatingClass()  : string
getUserData()  : array<string|int, mixed>

Properties

$initiatingClass read-only

protected string $initiatingClass

$userData read-only

protected array<string|int, mixed> $userData

Methods

__construct()

public __construct(ContextData $contextData, array<string|int, mixed> $userData, string $initiatingClass) : mixed
Parameters
$contextData : ContextData
$userData : array<string|int, mixed>
$initiatingClass : string

getInitiatingClass()

public getInitiatingClass() : string
Return values
string

getUserData()

public getUserData() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results