public function digestAuth($username, $password)
    {
        $this->addOnCurlOption(CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
        return $this->basicAuth($username, $password);
    }
public function digestAuth($username, $password)
    {
        $this->addOnCurlOption(CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
        return $this->basicAuth($username, $password);
    }
public function digestAuth ( $ username , $ password ) { $ this -> addOnCurlOption ( CURLOPT_HTTPAUTH , CURLAUTH_DIGEST ) ; return $ this -> basicAuth ( $ username , $ password ) ; }
User Digest Auth.
@param string $username
@param string $password
@return Request
User Digest Auth .