82
82
// set the parameters: url, username, password
83
83
rv= curl_easy_setopt(curl_handle, CURLOPT_URL, auth_url.c_str());
84
84
#if defined(HAVE_CURLOPT_USERNAME)
86
86
rv= curl_easy_setopt(curl_handle, CURLOPT_USERNAME,
88
88
rv= curl_easy_setopt(curl_handle, CURLOPT_PASSWORD, password.c_str());
94
94
userpwd.append(password);
95
95
rv= curl_easy_setopt(curl_handle, CURLOPT_USERPWD, userpwd.c_str());