public function setProxyAuth($username, $password, $authType = CURLAUTH_BASIC)
    {
        if (!empty($username) && !empty($password)) {
            $this->proxyUsername = stripslashes(trim($username));
            $this->proxyPassword = stripslashes(trim($password));
            $this->proxyAuthType = intval($authType);
        }
    }
public function setProxyAuth($username, $password, $authType = CURLAUTH_BASIC)
    {
        if (!empty($username) && !empty($password)) {
            $this->proxyUsername = stripslashes(trim($username));
            $this->proxyPassword = stripslashes(trim($password));
            $this->proxyAuthType = intval($authType);
        }
    }
public function setProxyAuth ( $ username , $ password , $ authType = CURLAUTH_BASIC ) { if ( ! empty ( $ username ) && ! empty ( $ password ) ) { $ this -> proxyUsername = stripslashes ( trim ( $ username ) ) ; $ this -> proxyPassword = stripslashes ( trim ( $ password ) ) ; $ this -> proxyAuthType = intval ( $ authType ) ; } }
Set a HTTP proxy authentication.

@param string $username
@param string $password
@param int    $authType
Set a HTTP proxy authentication .