Example #1
0
 /**
  * Set the authorization parameters
  * @param string $username
  * @param string $password
  * @return App
  */
 public function setAuth($username, $password)
 {
     $this->client = new Client();
     $this->client->setUsername($username);
     $this->client->setPassword($password);
     $this->_hash = sha1($username . $password);
     return $this;
 }