How Google OAuth Client library refreshes access token using refresh token?

358 Views Asked by At

So I have been working on Google's OAuth client library for integrating my application with another web service. Type of access is offline. So, I have both the access token and refresh token as a Stored Credential on my side.

The question is, do I need to perform any manual steps for refreshing the access token using the refresh token once the existing access token is expired or Google client library itself will regenerate it automatically.

I saw some posts where they will refresh the tokens automatically. But I decompiled most of the authentication related classes and checked for the triggering point for this refresh action. Unfortunately I couldn't find any. Please assist me on this.

My apologies for improper verbose if any.

Thanks in advance

0

There are 0 best solutions below