title: In auth0 lock, how to refresh the id_token?
body: <p>I am building a cordova mobile app and trying to use the auth0 lock API. I am having trouble with the refresh token. I can retreive the refresh token in the authResult but cannot figure out how to actually refresh the id_token ( I suppose i could write the REST calsl myself )</p>
  
  <p>In the v9 docs, it seems there used to be a method: <a href="https://auth0.com/docs/libraries/lock/v9/using-a-refresh-token" rel="noreferrer">https://auth0.com/docs/libraries/lock/v9/using-a-refresh-token</a></p>
  
  <pre><code>lock.getClient().refreshToken(refresh_token, function (err, delegationResult) {
    // Get here the new JWT via delegationResult.id_token
  });
  </code></pre>
  
  <p>However in lock v10 it seems this method doesn't exist any more: <a href="https://auth0.com/docs/libraries/lock/v10/api" rel="noreferrer">https://auth0.com/docs/libraries/lock/v10/api</a></p>
  
  <p>Can anyone advise if there is a way to refresh the token using the lock API?</p>