public function setAuth($username, $password)
    {
        $this->username = $username;
        $this->password = $password;
        $this->logger && $this->logger->debug("Set: the auth login");
        return $this;
    }
public function setAuth($username, $password)
    {
        $this->username = $username;
        $this->password = $password;
        $this->logger && $this->logger->debug("Set: the auth login");
        return $this;
    }
public function setAuth ( $ username , $ password ) { $ this -> username = $ username ; $ this -> password = $ password ; $ this -> logger && $ this -> logger -> debug ( "Set: the auth login" ) ; return $ this ; }
auth login with server
@param string $username
@param string $password
@return $this
auth login with server