private string $userHash = '$apr1$'
Construct the new authentication object with the field names.
public __construct(array $config = []): void
Parameter | Type | Description |
---|
$config | array | |
Query the authentication adapter.
public queryAuth(string $identity, array $extra = [], bool $): void
We must provide a queryAuth method for the auth base class to use to look up details
Parameter | Type | Description |
---|
$identity | string | The identity |
$extra | array | Extra data to return with the authentication |
$ | bool | |
public getCredentialHash(?string $credential): string
Parameter | Type | Description |
---|
$credential | string | |
public create(string $identity, string $credential): bool
Parameter | Type | Description |
---|
$identity | string | |
$credential | string | |
public update(string $identity, string $credential): bool
Parameter | Type | Description |
---|
$identity | string | |
$credential | string | |
public delete(string $identity): bool
Parameter | Type | Description |
---|
$identity | string | |
Generated by Hazaar API Doc Generator