UserManager
Less than 1 minute
UserManager
A Hazaar\Auth\Interface\UserProvider that can create and delete users, as used by hazaar user add/del.
interface UserManagerMethods
createUser
Creates a user.
public createUser(string $identity, ?string $passwordHash, array $data): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$identity | string | |
$passwordHash | string | |
$data | array |
deleteUser
Deletes a user.
public deleteUser(string $identity): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$identity | string |
Generated by Hazaar API Doc Generator on Sun, 08 Nov 2026 03:36:15 +0000