This function takes the Refresh Token as an argument and retrives a new Access Token based on it
OAuth2.0 Token Object containing refresh token, client ID and client Secret
token.object Returns the same token object with the updated access token. Since the Token object is a Reference Class object it can be modified in place
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.