FromDK / 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

Google + Logout URL #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I could not logout my Google+ api session. Please guide me the URL logout 
session from my site.

Original issue reported on code.google.com by noohuya...@gmail.com on 7 May 2012 at 5:04

GoogleCodeExporter commented 8 years ago
You might want to revoke the cookies issued to the user when logging the user 
out of your site.
If you also want to revoke OAuth 2.0 tokens issued for the user, you can use 
the method $apiClient->revokeToken().

Example:
http://code.google.com/p/google-api-php-client/source/browse/trunk/examples/plus
/simple.php#17

Original comment by chirags@google.com on 11 May 2012 at 6:56