function soapclient::setCredentials in Salesforce Suite 5
Same name and namespace in other branches
- 5.2 includes/nusoap.orig.php \soapclient::setCredentials()
* if authenticating, set user credentials here * *
Parameters
string $username: * @param string $password * @param string $authtype (basic|digest|certificate) * @param array $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) * @access public
File
- includes/
nusoap.orig.php, line 6905
Class
- soapclient
- soapclient higher level class for easy usage.
Code
function setCredentials($username, $password, $authtype = 'basic', $certRequest = []) {
$this->username = $username;
$this->password = $password;
$this->authtype = $authtype;
$this->certRequest = $certRequest;
}