public function getDigestHash($realm, $username)
    {
        $stmt = $this->pdo->prepare('SELECT digesta1 FROM '.$this->tableName.' WHERE username = ?');
        $stmt->execute([$username]);

        return $stmt->fetchColumn() ?: null;
    }
public function getDigestHash($realm, $username)
    {
        $stmt = $this->pdo->prepare('SELECT digesta1 FROM '.$this->tableName.' WHERE username = ?');
        $stmt->execute([$username]);

        return $stmt->fetchColumn() ?: null;
    }
public function getDigestHash ( $ realm , $ username ) { $ stmt = $ this -> pdo -> prepare ( 'SELECT digesta1 FROM ' . $ this -> tableName . ' WHERE username = ?' ) ; $ stmt -> execute ( [ $ username ] ) ; return $ stmt -> fetchColumn ( ) ? : null ; }
Returns the digest hash for a user.

@param string $realm
@param string $username

@return string|null
Returns the digest hash for a user .