I was able to get a RefreshToken by following the instruction given in this link : How do I authorise a background web app without user intervention? (canonical ?).
Now I need user credential
for getting driveservice object
. I have searched a lot but cant find a exact solution.
I can get access token using refresh token, ClientId
and ClientSecret
following this link :Using OAuth 2.0 for Web Server Applications - offline.
But after that how can I get user credential
using that AccessToken
? Or any direct way for getting credential
using refresh token. Any example or suggestion.
Thanks!