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(47) "http://fuse.work/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(35) "http://razor.fuse.work/xeroAuth.php" ["oauth_consumer_key"]=> string(30) "WX5OE0KYA6POCSWWR4CA5NZZMVKYYT" ["oauth_nonce"]=> string(5) "QkUHj" ["oauth_signature_method"]=> string(9) "HMAC-SHA1" ["oauth_timestamp"]=> int(1711677078) ["oauth_version"]=> string(3) "1.0" ["order"]=> string(0) "" ["oauth_signature"]=> string(28) "hYUgC1awYG/3yPvByMkUZVvCQ/A=" } ["signature"]=> string(34) "hYUgC1awYG%2F3yPvByMkUZVvCQ%2FA%3D" ["signed_url"]=> string(302) "https://api.xero.com/oauth/RequestToken?oauth_callback=http%3A%2F%2Frazor.fuse.work%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=QkUHj&oauth_signature=hYUgC1awYG%2F3yPvByMkUZVvCQ%2FA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1711677078&oauth_version=1.0&order=" ["header"]=> string(281) "OAuth oauth_callback="http%3A%2F%2Frazor.fuse.work%2FxeroAuth.php", oauth_consumer_key="WX5OE0KYA6POCSWWR4CA5NZZMVKYYT", oauth_nonce="QkUHj", oauth_signature="hYUgC1awYG%2F3yPvByMkUZVvCQ%2FA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1711677078", oauth_version="1.0"" ["sbs"]=> string(299) "GET&https%3A%2F%2Fapi.xero.com%2Foauth%2FRequestToken&oauth_callback%3Dhttp%253A%252F%252Frazor.fuse.work%252FxeroAuth.php%26oauth_consumer_key%3DWX5OE0KYA6POCSWWR4CA5NZZMVKYYT%26oauth_nonce%3DQkUHj%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1711677078%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) "21c76e67-4a4d-42bf-98f7-d3f39fb25f66" ["expires"]=> string(29) "Fri, 29 Mar 2024 01:51:18 GMT" ["cache_control"]=> string(29) "max-age=0, no-cache, no-store" ["pragma"]=> string(8) "no-cache" ["date"]=> string(29) "Fri, 29 Mar 2024 01:51:18 GMT" ["x_client_tls_ver"]=> string(6) "tls1.3" ["set_cookie"]=> string(553) "ak_bmsc=3C18D03BD3C725F3A56C89B9AA3A33D2~000000000000000000000000000000~YAAQrh3QFxOT5DeOAQAAKnznhxedxe/FhohPUUkwMyv6XV95Tqm4YTsywx/OCmkYN9Ro9/7CmsOrELa4TfGt6MgJvlaDpzh9PYlqTTMiMdM9RmAKsXrna+u3m0MkwL8ADJdaHuIQvbegoAywkChqq9XdnsJvcFdY/SuAzwXG5G+ol7zUUmDN/18TboaK78HhrbtjOVscMHj6DdT0BfwL864QiIwh6DZgk5vh+PnKEPPmekv+htaVEvTX3VwCKESvbU68GKBMfmlIFW0egC+CgKK0pNW8MKml8wIICPG99B5LZdGMRHnD9zG27/ADRkQaeIMULRncruKXr7A8qFwerVu7pi16nqSmdJcbnqcwfbF3A4xH67mDH/Vlgx3Uowe9GvH5AyI=; Domain=.xero.com; Path=/; Expires=Fri, 29 Mar 2024 03:51:18 GMT; Max-Age=7200; HttpOnly" } ["code"]=> int(401) ["response"]=> string(153) "{"Type":null,"Title":"Unauthorized","Status":401,"Detail":"AuthenticationUnsuccessful","Instance":"21c76e67-4a4d-42bf-98f7-d3f39fb25f66","Extensions":{}}" ["info"]=> array(27) { ["url"]=> string(302) "https://api.xero.com/oauth/RequestToken?oauth_callback=http%3A%2F%2Frazor.fuse.work%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=QkUHj&oauth_signature=hYUgC1awYG%2F3yPvByMkUZVvCQ%2FA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1711677078&oauth_version=1.0&order=" ["content_type"]=> string(16) "application/json" ["http_code"]=> int(401) ["header_size"]=> int(902) ["request_size"]=> int(416) ["filetime"]=> int(-1) ["ssl_verify_result"]=> int(20) ["redirect_count"]=> int(0) ["total_time"]=> float(0.440576) ["namelookup_time"]=> float(0.002321) ["connect_time"]=> float(0.2017) ["pretransfer_time"]=> float(0.211853) ["size_upload"]=> float(0) ["size_download"]=> float(153) ["speed_download"]=> float(347) ["speed_upload"]=> float(0) ["download_content_length"]=> float(153) ["upload_content_length"]=> float(0) ["starttransfer_time"]=> float(0.440392) ["redirect_time"]=> float(0) ["redirect_url"]=> string(0) "" ["primary_ip"]=> string(13) "23.77.133.139" ["certinfo"]=> array(0) { } ["primary_port"]=> int(443) ["local_ip"]=> string(12) "101.0.117.31" ["local_port"]=> int(50708) ["request_header"]=> string(416) "GET /oauth/RequestToken?oauth_callback=http%3A%2F%2Frazor.fuse.work%2FxeroAuth.php&oauth_consumer_key=WX5OE0KYA6POCSWWR4CA5NZZMVKYYT&oauth_nonce=QkUHj&oauth_signature=hYUgC1awYG%2F3yPvByMkUZVvCQ%2FA%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1711677078&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" } }