This is managed by the SDK CredentialsManager - You can adjust the lifetime at the app level and we highly recommend using refresh token rotation. Basically, if a refresh token is not present (revoked) or expired, the SDK would just require the user to login again.