Refresh the Access Token and ID Token using the Refresh Token. The tokens may not be expired in order to be refreshed.
the tokens to refresh
a new set of tokens
2.4.0
const refreshedTokens = await refreshTokens(previousTokenSet);const session = await Session.fromTokens(refreshedTokens, sessionId); Copy
const refreshedTokens = await refreshTokens(previousTokenSet);const session = await Session.fromTokens(refreshedTokens, sessionId);
Refresh the Access Token and ID Token using the Refresh Token. The tokens may not be expired in order to be refreshed.