title: How can I Verify Android Generated Tokens on my Server Using PHP?
body: <p>Ok, I have been trying to get the wonderful nirvana described by Tim Bray's article <a href="http://android-developers.blogspot.com/2013/01/verifying-back-end-calls-from-android.html" rel="nofollow">Verifying Back-End Calls from Android Apps</a>. I can successfully get a token from my android app by calling GoogleAuthUtil.getToken(). I pass the token to my php server as header Authorization Bearer field. This is where I get stuck. </p>
  
  <p>What should I do now to verify that the token was generated from my android app for the same project as my server project? How do I get the user_id from the token? Thanks.</p>
  
  <p>On Google console both my php server and android app are on the same project. On my php server, I can link in both android/google-api-php-client/src/Google_Client.php and android/google-api-php-client/src/contrib/Google_PlusService.php library codes.</p>