PasswordStore
Less than 1 minute
PasswordStore
A Hazaar\Auth\Interface\UserProvider that stores a password hash for each user.
interface PasswordStoreMethods
getPasswordHash
Returns the stored password hash for a user.
public getPasswordHash(string $identity): ?stringReturns: string
Parameters
| Parameter | Type | Description |
|---|---|---|
$identity | string |
setPasswordHash
Replaces the stored password hash for a user.
public setPasswordHash(string $identity, string $hash): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$identity | string | |
$hash | string |
Generated by Hazaar API Doc Generator on Wed, 28 Oct 2026 08:43:30 +0000