public OAuthData refreshToken(OAuthData) - Refreshes the
access token represented by the given OAuthData object. A new OAuthData containing the new
access token is returned. If the access token cannot be refreshed an exception is
thrown.
Parameters
- OAuthData data
- The OAuthData object to be used to obtain the refresh token.
Returns
Returns an OAuthData instance containing the new access token.