HEX
Server: Apache/2.4.41 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.40
System: Linux ip-172-31-40-18 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64
User: apache (48)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: //usr/share/pear/doc/oauth/examples/google/config.inc.php
<?php
/* you need to register a consumer key at https://www.google.com/accounts/ManageDomains, after registering you are given the secret */
define('OAUTH_CONSUMER_KEY',"nil");
define('OAUTH_CONSUMER_SECRET',"nil");

/* api uri's */
define('GOOGLE_OAUTH_REQUEST_TOKEN_API', 'https://www.google.com/accounts/OAuthGetRequestToken');
define('GOOGLE_OAUTH_ACCESS_TOKEN_API', 'https://www.google.com/accounts/OAuthGetAccessToken');
define('GOOGLE_OAUTH_AUTHORIZE_API', 'https://www.google.com/accounts/OAuthAuthorizeToken');

/* full PoCo developer guide for Google is at http://code.google.com/apis/contacts/docs/poco/1.0/developers_guide.html */
define('GOOGLE_POCO_CONTACT_INFO_API', 'http://www-opensocial.googleusercontent.com/api/people/@me/@self');
define('GOOGLE_POCO_ALL_CONTACTS', 'http://www-opensocial.googleusercontent.com/api/people/@me/@all');
define('OAUTH_TMP_DIR', function_exists('sys_get_temp_dir') ? sys_get_temp_dir() : realpath($_ENV["TMP"]));
?>