Property | Type | Description | |
---|---|---|---|
$authRealm | string | Authentication realm | |
$pdo | PDO | Reference to PDO connection | |
$tableName | string | PDO table name we'll be using |
Method | Description | |
---|---|---|
__construct ( PDO $pdo, $authRealm, string $tableName = 'users' ) | Creates the backend object. | |
validateUserPass ( string $username, string $password ) : boolean | Validates a username and password |
public __construct ( PDO $pdo, $authRealm, string $tableName = 'users' ) | ||
$pdo | PDO | |
$tableName | string | The PDO table name to use |
protected string $tableName | ||
return | string |