Developers

RefreshAccessToken

refreshAccessToken

Usage

Use this method to refresh the accessToken and receive a new access token:

client.refreshAccessToken();

Example

client.refreshAccessToken().then(function (response) {
  var sessionToken = response.sessionToken;
});