You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For checking the expiry of the AccessToken I can use:
var auth = new StandardAuth(accessToken);
var isExpired = auth.IsExpired();
Can I check the RefreshToken expiry also in the same way?
Thanks
The text was updated successfully, but these errors were encountered:
No, the refresh token does not have the JWT format which could be decoded in order to retrieve its expiration time. Since the SDK does not know when the refresh token was obtained, there is no way to calculate the expiration time either.
So, you have implement your own way to manage the refresh token expiration time.
For checking the expiry of the AccessToken I can use:
var auth = new StandardAuth(accessToken);
var isExpired = auth.IsExpired();
Can I check the RefreshToken expiry also in the same way?
Thanks
The text was updated successfully, but these errors were encountered: