public function validatePassword(string $password): bool
    {
        $this->A1 = md5($this->digestParts['username'].':'.$this->realm.':'.$password);

        return $this->validate();
    }
public function validatePassword(string $password): bool
    {
        $this->A1 = md5($this->digestParts['username'].':'.$this->realm.':'.$password);

        return $this->validate();
    }
public function validatePassword ( string $ password ) : bool { $ this -> A1 = md5 ( $ this -> digestParts [ 'username' ] . ':' . $ this -> realm . ':' . $ password ) ; return $ this -> validate ( ) ; }
Validates authentication through a password. The actual password must be provided here.
It is strongly recommended not store the password in plain-text and use validateA1 instead.
Validates authentication through a password . The actual password must be provided here . It is strongly recommended not store the password in plain - text and use validateA1 instead .