public function usingPasswordAuthentication($user, $pass = '') { $this->config->setUser($user); $this->config->setPass($pass); $this->config->setAuth(true); return $this; }