interface UserCredentialWriterInterface (View source)

Write access to a user's stored password.

Methods

bool
updatePassword(int $userId, string $hashedPassword)

Update a user's password

Details

bool updatePassword(int $userId, string $hashedPassword)

Update a user's password

Parameters

int $userId

User ID to update

string $hashedPassword

Hashed password to set

Return Value

bool

True if the password was updated successfully