public function setCredentials(string
$username,
string
$password,
[string
$authtype = 'basic',
[array
$certRequest = ]] )
Parameters
$username
—
string
$password
—
string
$authtype
—
string
(basic|digest|certificate|ntlm)
$certRequest
—
array
(keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, certpassword (optional), verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs)