\App\EventsLogPasswordChangedEvent

密码修改事件

职责:承载一次密码写入的事实载荷(用户/最终加盐哈希/类型/操作来源)。 载荷只带写入后与用户表同值的 bcrypt 哈希,绝不携带明文; 请求上下文(IP/UA/trace_id)由监听器现取。

Summary

Methods
Properties
Constants
__construct()
$userId
$userName
$passwordHash
$changeType
$operator
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$userId

$userId : int

Type

int

$userName

$userName : string

Type

string

$passwordHash

$passwordHash : string

Type

string

$changeType

$changeType : int

Type

int

$operator

$operator : string

Type

string

Methods

__construct()

__construct(int  $userId, string  $userName, string  $passwordHash, int  $changeType, string  $operator = '本人') : mixed

Parameters

int $userId
string $userName
string $passwordHash
int $changeType
string $operator

Returns

mixed —