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 Wed, 28 Oct 2026 08:43:30 +0000