diff options
author | Snap <snapwilliam@gmail.com> | 2015-04-16 14:51:26 -0700 |
---|---|---|
committer | Snap <snapwilliam@gmail.com> | 2015-04-16 14:51:26 -0700 |
commit | 5c7f2f17f9c471d306955df457c7cab4e5c6ed3b (patch) | |
tree | 0fe6d049f1af552af6a74d264a3f571cfdb1ee7c /includes/google-api-php-client-master/examples/index.php | |
parent | d0b9b771a876922afdf00b2c55d5e1388a4ea2a3 (diff) | |
download | pathery-5c7f2f17f9c471d306955df457c7cab4e5c6ed3b.tar.xz |
Google's OpenID Connect method
$google_client_id & $google_client_secret must be added to db.inc.php!
Diffstat (limited to 'includes/google-api-php-client-master/examples/index.php')
-rw-r--r-- | includes/google-api-php-client-master/examples/index.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/google-api-php-client-master/examples/index.php b/includes/google-api-php-client-master/examples/index.php new file mode 100644 index 0000000..243c9c0 --- /dev/null +++ b/includes/google-api-php-client-master/examples/index.php @@ -0,0 +1,19 @@ +<?php +include_once "templates/base.php"; +if (!isWebRequest()) { + echo "To view this page on a webserver using PHP 5.4 or above run: \n\t + php -S localhost:8080\n"; + exit(); +} +echo pageHeader("PHP Library Examples"); ?> +<ul> + <li><a href="simple-query.php">A query using simple API access</a></li> + <li><a href="user-example.php">A query for user data, using OAuth 2.0 authentication.</a></li> + <li><a href="batch.php">An example of combining multiple calls into a batch request</a></li> + <li><a href="service-account.php">A query using the service account functionality.</a></li> + <li><a href="simplefileupload.php">An example of a small file upload.</a></li> + <li><a href="fileupload.php">An example of a large file upload.</a></li> + <li><a href="idtoken.php">An example of verifying and retrieving the id token.</a></li> + <li><a href="multi-api.php">An example of using multiple APIs.</a></li> +</ul> +<?php echo pageFooter(); |