Login   Register  
PHP Classes
elePHPant
Icontem

After running: login_with_google.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP OAuth API  >  All threads  >  After running: login_with_google.php  >  (Un) Subscribe thread alerts  
Subject:After running: login_with_google.php
Summary:After running: login_with_google.php
Messages:2
Author:temiuq
Date:2014-03-25 19:18:13
Update:2014-04-04 04:59:57
 

  1. After running: login_with_google.php   Reply  
Picture of temiuq
temiuq
2014-03-25 19:18:13
After running: login_with_google.php
If you sign out my account
If I run: login_with_google.php
Do not ask me sign in
Why?

Thanks

  2. Re: After running: login_with_google.php   Reply  
Picture of Manuel Lemos
Manuel Lemos
2014-04-04 04:59:57 - In reply to message 1 from temiuq
The API access token obtained via OAuth is valid even after you logout from your Google account because each thing is independent.

Google OAuth tokens expire automatically after a while. If the tokens are requested for offline usage, they can be refreshed automatically as many times as you need or until the user revokes the token permissions.