Свойство | Тип | Описание | |
---|---|---|---|
$authRealm | string | Authentication realm | |
$pdo | PDO | Reference to PDO connection | |
$tableName | string | PDO table name we'll be using |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | string |