public function basicAuth($username, $password)
    {
        $this->auth = new BasicAuth($username, $password);
        return $this->auth;
    }
public function basicAuth($username, $password)
    {
        $this->auth = new BasicAuth($username, $password);
        return $this->auth;
    }
public function basicAuth ( $ username , $ password ) { $ this -> auth = new BasicAuth ( $ username , $ password ) ; return $ this -> auth ; }
Sets up a Basic Auth
@param string $username    e-mail or account for twitter
@param string $password    password for twitter
@return Auth\BasicAuth
@deprecated Basic Auth is not longer supported
Sets up a Basic Auth