title: android sign in button and remote web login in PHP ZF2
body: <p>I googled and I only found documents on how to create a sign in button on your android application, or how to create a sign in button on your web application.</p>
  
  <p>My scenario is that the android application retrieves information from my website using get/post http requests and getting json data.</p>
  
  <p>I have a working android sign in button on my android application.</p>
  
  <p>the question is that when i want to retrieve information from my website using get/post request, what information should I send in order for the website to know which user is retrieving that information and that the user is logged in ?</p>
  
  <p>I know that I can't just send the google user id because that's not secured and easly hacked. I'm guessing I need to send some kind of access token and on the web site to parse that access token in order to know which user it is. but what exactly do I need to do?</p>
  
  <p>My client side is PHP with ZendFramework 2 and ZfcUser with scn-social-auth for google login.</p>
  
  <p>any information regarding the issue would be greatly appreciated.</p>
  
  <p>thanks</p>