Hello everyone, i just came across this google Oauth class and it fits perfectly for a project i'm working on which requires to sign in to Gmail without asking the user for a password, however i have a service running which checks every 30 seconds if there are any new emails.
My questions are the following:
can i check if the accesstoken has expired from a service?
and how do i obtain a new one?
does the app have to launch the browser to ask the user for permission every time the accesstoken expires and the app needs to get a new one?
Thanks in advance for you guy's help.
Regards,
Walter
My questions are the following:
can i check if the accesstoken has expired from a service?
and how do i obtain a new one?
does the app have to launch the browser to ask the user for permission every time the accesstoken expires and the app needs to get a new one?
Thanks in advance for you guy's help.
Regards,
Walter