henzard
8/27/2015 - 7:20 AM

gistfile1.txt

    $this->signatures['curl_ssl_cert'] = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '../core') . DIRECTORY_SEPARATOR . 'certs' . DIRECTORY_SEPARATOR . 'your_private_ssl.pem';
    $this->signatures['curl_ssl_password'] = 'YourPassword';
    $this->signatures['curl_ssl_key'] = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '../core') . DIRECTORY_SEPARATOR . 'certs' . DIRECTORY_SEPARATOR . 'private_key.pem';
    $this->signatures ['rsa_private_key'] = $this->private_cert;
    $this->signatures ['rsa_public_key'] = $this->public_cert;
    $this->XeroOAuth = new XeroOAuth(array_merge(array(
                'application_type' => 'Partner',
                'oauth_callback' => $this->oauth_callback,
                'user_agent' => $this->user->Value('ID') . $this->user->Value("Email")
                    ), $this->signatures));