public function amHttpAuthenticated($username, $password)
    {
        $this->client->setServerParameter('PHP_AUTH_USER', $username);
        $this->client->setServerParameter('PHP_AUTH_PW', $password);
    }
public function amHttpAuthenticated($username, $password)
    {
        $this->client->setServerParameter('PHP_AUTH_USER', $username);
        $this->client->setServerParameter('PHP_AUTH_PW', $password);
    }
public function amHttpAuthenticated ( $ username , $ password ) { $ this -> client -> setServerParameter ( 'PHP_AUTH_USER' , $ username ) ; $ this -> client -> setServerParameter ( 'PHP_AUTH_PW' , $ password ) ; }
Authenticates user for HTTP_AUTH

@param $username
@param $password
Authenticates user for HTTP_AUTH