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