refreshToken returns a new valid access token. The access token deprecates after one hour and has to updated with the refresh token.
Usually you need not to run refreshToken() explicitly since the whole authentication process is managed by
list of credentials and access token
New access token with corresponding time stamp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.