SFAPIclient/Requests/Auth/Basic.php
public function curl_before_send(&$handle) {
		curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
		curl_setopt($handle, CURLOPT_USERPWD, $this->getAuthString());
	}
public function curl_before_send(&$handle) {
		curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
		curl_setopt($handle, CURLOPT_USERPWD, $this->getAuthString());
	}
public function curl_before_send ( & $ handle ) { curl_setopt ( $ handle , CURLOPT_HTTPAUTH , CURLAUTH_BASIC ) ; curl_setopt ( $ handle , CURLOPT_USERPWD , $ this -> getAuthString ( ) ) ; }
Set cURL parameters before the data is sent

@param resource $handle cURL resource
Set cURL parameters before the data is sent