Diglin\Ricardo\Services\Security::getRefreshTokenCredential

After the SessionDuration timeout, the token need to be refreshed You will get a new token credential in return. If TokenExpirationDate is above of the current date, you will have to create again a temporary credential (sic!)