Google_HttpRequest::__set_state(array(
'batchHeaders' =>
array (
'Content-Type' => 'application/http',
'Content-Transfer-Encoding' => 'binary',
'MIME-Version' => '1.0',
'Content-Length' => '',
),
'url' => 'https://accounts.google.com/o/oauth2/token',
'requestMethod' => 'POST',
'requestHeaders' =>
array (
'content-type' => 'application/x-www-form-urlencoded',
'content-length' => 345,
),
'postBody' => 'code=4%2FrwEINs07U8oTTCIWTp7iPvApSTCkR1AnKyP1psIcL2DVjoZonysucRAZnzQsuQee0dsj4Hn5m4bWQAxRwkXZP28&grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%2Fiwp%2Faddons%2FgoogleAnalytics%2Flib%2FgoogleAnalytics.php&client_id=362957775571-89khkk6vkv5tpj467n7h3n4amqmaiu0o.apps.googleusercontent.com&client_secret=fDBi2HGkFMvz8t78GHIKb9a2',
'userAgent' => 'InfiniteWP Google Analytics google-api-php-client/0.6.5',
'responseHttpCode' => 200,
'responseHeaders' =>
array (
'content-type' => 'application/json; charset=utf-8',
'vary' => 'X-Origin
Referer
Origin,Accept-Encoding',
'date' => 'Wed, 09 Oct 2019 14:23:17 GMT',
'server' => 'ESF',
'cache-control' => 'private',
'x-xss-protection' => '0',
'x-frame-options' => 'SAMEORIGIN',
'x-content-type-options' => 'nosniff',
'alt-svc' => 'quic=":443"; ma=2592000; v="46,43",h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000',
'accept-ranges' => 'none',
'transfer-encoding' => 'chunked',
),
'responseBody' => '{
"access_token": "ya29.Il-bB7kEs91tegWVHQ9iHInwQiWVUNem_0goynJbOUaMTZ1GN-CTUII1RhL_XaEi3RRtUgnpuVUR4X4JHRAFiJgz4jEo7SbtUHm3i8BYZCXrjSch1DvAzJfhjjxnPb_NcA",
"expires_in": 3600,
"refresh_token": "1//0gWKeASEuRGVmCgYIARAAGBASNwF-L9IrlMrXJIoKEIeOk4Tfu-wwE9Q8oOUDx-tv_8z4IyovuyIcaWJnVQLXxM-UgK2fPUBZ33Q",
"scope": "https://www.googleapis.com/auth/analytics.readonly",
"token_type": "Bearer"
}',
'accessKey' => NULL,
))
Google_HttpRequest::__set_state(array(
'batchHeaders' =>
array (
'Content-Type' => 'application/http',
'Content-Transfer-Encoding' => 'binary',
'MIME-Version' => '1.0',
'Content-Length' => '',
),
'url' => 'https://accounts.google.com/o/oauth2/token',
'requestMethod' => 'POST',
'requestHeaders' =>
array (
'content-type' => 'application/x-www-form-urlencoded',
'content-length' => 345,
),
'postBody' => 'code=4%2FrwE-E0fr7qIqChTPWucVlAm60gDksFRWU8NNSWEMH9HqtphcWuluQBzeJ0STEtgG6dMvo_lIQ2WnEjKVdTGv9Nc&grant_type=authorization_code&redirect_uri=http%3A%2F%2Flocalhost%2Fiwp%2Faddons%2FgoogleAnalytics%2Flib%2FgoogleAnalytics.php&client_id=362957775571-89khkk6vkv5tpj467n7h3n4amqmaiu0o.apps.googleusercontent.com&client_secret=fDBi2HGkFMvz8t78GHIKb9a2',
'userAgent' => 'InfiniteWP Google Analytics google-api-php-client/0.6.5',
'responseHttpCode' => 200,
'responseHeaders' =>
array (
'content-type' => 'application/json; charset=utf-8',
'vary' => 'X-Origin
Referer
Origin,Accept-Encoding',
'date' => 'Wed, 09 Oct 2019 14:28:20 GMT',
'server' => 'ESF',
'cache-control' => 'private',
'x-xss-protection' => '0',
'x-frame-options' => 'SAMEORIGIN',
'x-content-type-options' => 'nosniff',
'alt-svc' => 'quic=":443"; ma=2592000; v="46,43",h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000',
'accept-ranges' => 'none',
'transfer-encoding' => 'chunked',
),
'responseBody' => '{
"access_token": "ya29.Il-bB8XBwgH2e8sYMomLIjCy3jk11lkQKMcZ5zJk2gU0tUQ86HAq63EA7D7MVNE829xWqX2OEU3awOYZYu3be3q_u-ayJXyVYCmPI40IGcMl_zRwMWBxmPdyQxuSAqhbpA",
"expires_in": 3600,
"refresh_token": "1/uiXCxSf5CB69ASNu0l4BDhW-v4IjH-NdQO9s1hen4Z4",
"scope": "https://www.googleapis.com/auth/analytics.readonly",
"token_type": "Bearer"
}',
'accessKey' => NULL,
))