public function setAuthentication($credentials) { $this->authentication = $credentials; curl_setopt($this->curl, CURLOPT_USERPWD, $credentials); }