pownraj-anubavam / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

JWT sample #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
do you have a sample on how to use the PHP library for service accounts 
authorization? This is involves the use of JWT and the private key (.p12) 
downloaded from the api console.

Thanks.

L

Original issue reported on code.google.com by lovi...@gmail.com on 30 Mar 2012 at 1:43

GoogleCodeExporter commented 9 years ago
I'm happy to announce that the Google API PHP Client now supports service 
accounts on trunk!
The implementation hasn't been released yet, so you'll need to checkout the 
latest version of the PHP client by visiting:
http://code.google.com/p/google-api-php-client/source/checkout

I've prepared a sample application that demonstrates how you can use service 
accounts to hit the Google Prediction API.
To view the example, take a peek at examples/prediction/serviceAccount.php or 
visit:
http://code.google.com/p/google-api-php-client/source/browse/trunk/examples/pred
iction/serviceAccount.php

If you happen to find a bug, please let us know by filing a bug here:
http://code.google.com/p/google-api-php-client/issues/entry

Original comment by chirags@google.com on 2 Apr 2012 at 6:44