EnrichPasswordValidationContextDataEvent
Read onlyYes
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
$contextData
protected
ContextData
$contextData
$initiatingClass
protected
string
$initiatingClass
$userData
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
getContextData()
public
getContextData() : ContextData
Return values
ContextDatagetInitiatingClass()
public
getInitiatingClass() : string
Return values
stringgetUserData()
public
getUserData() : array<string|int, mixed>