object(XeroOAuth)#2 (15) { ["_xero_defaults"]=> array(4) { ["xero_url"]=> string(21) "https://api.xero.com/" ["site"]=> string(20) "https://api.xero.com" ["authorize_url"]=> string(36) "https://api.xero.com/oauth/Authorize" ["signature_method"]=> string(9) "HMAC-SHA1" } ["_xero_consumer_options"]=> array(3) { ["request_token_path"]=> string(18) "oauth/RequestToken" ["access_token_path"]=> string(17) "oauth/AccessToken" ["authorize_path"]=> string(15) "oauth/Authorize" } ["_action"]=> NULL ["_nonce_chars"]=> NULL ["params"]=> array(0) { } ["headers"]=> array(4) { ["Accept"]=> string(15) "application/xml" ["Content-Type"]=> string(0) "" ["Content-Length"]=> int(0) ["Expect"]=> string(0) "" } ["auto_fixed_time"]=> bool(false) ["buffer"]=> NULL ["_xero_curl_options"]=> array(10) { ["curl_connecttimeout"]=> int(30) ["curl_timeout"]=> int(10) ["curl_ssl_verifypeer"]=> bool(false) ["curl_cainfo"]=> string(13) "./certs/a.crt" ["curl_followlocation"]=> bool(false) ["curl_ssl_verifyhost"]=> bool(true) ["curl_proxy"]=> bool(false) ["curl_proxyuserpwd"]=> bool(false) ["curl_encoding"]=> string(0) "" ["curl_verbose"]=> bool(true) } ["config"]=> array(28) { ["application_type"]=> string(6) "Public" ["oauth_callback"]=> string(61) "http://smarterbueinssssoftware/GSTReport2Invoice/xeroAuth.php" ["user_agent"]=> string(9) "SBS-Razor" ["consumer_key"]=> string(30) "WX5OE0KYA6POCSWWR4CA5NZZMVKYYT" ["shared_secret"]=> string(30) "WTPF9QU7REGGU12OYMRD0NEZLLGDFE" ["core_version"]=> string(3) "2.0" ["payroll_version"]=> string(3) "1.0" ["xero_url"]=> string(21) "https://api.xero.com/" ["site"]=> string(20) "https://api.xero.com" ["authorize_url"]=> string(36) "https://api.xero.com/oauth/Authorize" ["signature_method"]=> string(9) "HMAC-SHA1" ["request_token_path"]=> string(18) "oauth/RequestToken" ["access_token_path"]=> string(17) "oauth/AccessToken" ["authorize_path"]=> string(15) "oauth/Authorize" ["curl_connecttimeout"]=> int(30) ["curl_timeout"]=> int(10) ["curl_ssl_verifypeer"]=> bool(false) ["curl_cainfo"]=> string(13) "./certs/a.crt" ["curl_followlocation"]=> bool(false) ["curl_ssl_verifyhost"]=> bool(true) ["curl_proxy"]=> bool(false) ["curl_proxyuserpwd"]=> bool(false) ["curl_encoding"]=> string(0) "" ["curl_verbose"]=> bool(true) ["access_token"]=> NULL ["access_token_secret"]=> NULL ["host"]=> string(27) "https://api.xero.com/oauth/" ["multipart"]=> bool(false) } ["method"]=> string(3) "GET" ["url"]=> string(39) "https://api.xero.com/oauth/RequestToken" ["sign"]=> array(5) { ["parameters"]=> array(8) { ["oauth_callback"]=> string(61) "http://apps.smarterbusinesssoftware.com.au/razor/xeroAuth.php" ["oauth_consumer_key"]=> string(30) "WX5OE0KYA6POCSWWR4CA5NZZMVKYYT" ["oauth_nonce"]=> string(5) "0nape" ["oauth_signature_method"]=> string(9) "HMAC-SHA1" ["oauth_timestamp"]=> int(1713602486) ["oauth_version"]=> string(3) "1.0" ["order"]=> string(0) "" ["oauth_signature"]=> string(28) "7I3t3Phz3Hj0MEcbeK/pg3TemPE=" } ["signature"]=> string(32) "7I3t3Phz3Hj0MEcbeK%2Fpg3TemPE%3D" ["signed_url"]=> string(328) "https://api.xero.com/oauth/RequestToken?oauth_callback=http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=0nape&oauth_signature=7I3t3Phz3Hj0MEcbeK%2Fpg3TemPE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1713602486&oauth_version=1.0&order=" ["header"]=> string(307) "OAuth oauth_callback="http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php", oauth_consumer_key="WX5OE0KYA6POCSWWR4CA5NZZMVKYYT", oauth_nonce="0nape", oauth_signature="7I3t3Phz3Hj0MEcbeK%2Fpg3TemPE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1713602486", oauth_version="1.0"" ["sbs"]=> string(329) "GET&https%3A%2F%2Fapi.xero.com%2Foauth%2FRequestToken&oauth_callback%3Dhttp%253A%252F%252Fapps.smarterbusinesssoftware.com.au%252Frazor%252FxeroAuth.php%26oauth_consumer_key%3DWX5OE0KYA6POCSWWR4CA5NZZMVKYYT%26oauth_nonce%3D0nape%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1713602486%26oauth_version%3D1.0%26order%3D" } ["format"]=> string(3) "xml" ["response"]=> array(5) { ["headers"]=> array(11) { ["content_type"]=> string(16) "application/json" ["content_length"]=> string(3) "153" ["server"]=> string(5) "nginx" ["www_authenticate"]=> string(6) "Bearer" ["xero_correlation_id"]=> string(36) "04b9d2d7-94f0-4399-ab12-87221e7506eb" ["expires"]=> string(29) "Sat, 20 Apr 2024 08:41:26 GMT" ["cache_control"]=> string(29) "max-age=0, no-cache, no-store" ["pragma"]=> string(8) "no-cache" ["date"]=> string(29) "Sat, 20 Apr 2024 08:41:26 GMT" ["x_client_tls_ver"]=> string(6) "tls1.3" ["set_cookie"]=> string(553) "ak_bmsc=24FDB814B614524826ED6EF259CE7598~000000000000000000000000000000~YAAQD03cFw2iWc+OAQAA5+Gq+heRsgwxcPQQ3nHaSoUA6L4VfiRTkJONocymZGERfM5NRCd7SV9ALFk0GO8zfjEpd0srsnctmslTXYTrylF+gBS0qgXrNK6b3EDIcMeKODRbzkfHHbsAkMMLEjyJXDWI6LVYQzuYx2CK6bn4yQbiO1hMO+pBf82yq0XqoQP95Z7PNZ0MgXD+ceSlEq7NKkCtdWAEiz+lDspL68I7iN9Jq2zz69TvpVNUNBDQgIiKiaNO19RCutTFMmTAjT6fnnpbHCAz6HS3mAx2iYk2E1jZ/aHhTCkyR3SCaEBTysSJBcw9hdaAwblnEkfImtWh/MIIalx1ND7q6oka17t37huNJE59gmd3b0QYwq2nUl/zDNjbnTs=; Domain=.xero.com; Path=/; Expires=Sat, 20 Apr 2024 10:41:26 GMT; Max-Age=7200; HttpOnly" } ["code"]=> int(401) ["response"]=> string(153) "{"Type":null,"Title":"Unauthorized","Status":401,"Detail":"AuthenticationUnsuccessful","Instance":"04b9d2d7-94f0-4399-ab12-87221e7506eb","Extensions":{}}" ["info"]=> array(38) { ["url"]=> string(328) "https://api.xero.com/oauth/RequestToken?oauth_callback=http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=0nape&oauth_signature=7I3t3Phz3Hj0MEcbeK%2Fpg3TemPE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1713602486&oauth_version=1.0&order=" ["content_type"]=> string(16) "application/json" ["http_code"]=> int(401) ["header_size"]=> int(902) ["request_size"]=> int(442) ["filetime"]=> int(-1) ["ssl_verify_result"]=> int(20) ["redirect_count"]=> int(0) ["total_time"]=> float(0.463937) ["namelookup_time"]=> float(0.002592) ["connect_time"]=> float(0.20294) ["pretransfer_time"]=> float(0.220407) ["size_upload"]=> float(0) ["size_download"]=> float(153) ["speed_download"]=> float(329) ["speed_upload"]=> float(0) ["download_content_length"]=> float(153) ["upload_content_length"]=> float(0) ["starttransfer_time"]=> float(0.463774) ["redirect_time"]=> float(0) ["redirect_url"]=> string(0) "" ["primary_ip"]=> string(14) "104.97.188.238" ["certinfo"]=> array(0) { } ["primary_port"]=> int(443) ["local_ip"]=> string(12) "101.0.117.31" ["local_port"]=> int(15274) ["http_version"]=> int(3) ["protocol"]=> int(2) ["ssl_verifyresult"]=> int(0) ["scheme"]=> string(5) "HTTPS" ["appconnect_time_us"]=> int(423090) ["connect_time_us"]=> int(202940) ["namelookup_time_us"]=> int(2592) ["pretransfer_time_us"]=> int(220407) ["redirect_time_us"]=> int(0) ["starttransfer_time_us"]=> int(463774) ["total_time_us"]=> int(463937) ["request_header"]=> string(442) "GET /oauth/RequestToken?oauth_callback=http%3A%2F%2Fapps.smarterbusinesssoftware.com.au%2Frazor%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=0nape&oauth_signature=7I3t3Phz3Hj0MEcbeK%2Fpg3TemPE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1713602486&oauth_version=1.0&order= HTTP/2 Host: api.xero.com user-agent: SBS-Razor accept-encoding: deflate, gzip accept: application/xml content-length: 0 " } ["format"]=> string(3) "xml" } }