public function password($password = null) { $password = $this->checkPassword($password); $this->config->setAuthenticationMethod(Configuration::AUTH_BY_PASSWORD); $this->config->setPassword($password); return $this; }