51 $stmt = $this->pdo->prepare(
'SELECT digesta1 FROM ' . $this->tableName .
' WHERE username = ?');
52 $stmt->execute([$username]);
53 return $stmt->fetchColumn() ?:
null;
An exception for terminatinating execution or to throw for unit testing.
HTTP Digest authentication backend class.
This is an authentication backend that uses a database to manage passwords.
__construct(\PDO $pdo)
Creates the backend object.
getDigestHash($realm, $username)
Returns the digest hash for a user.