.refresh_token | R Documentation |
refresh_token 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 refresh_token() explicitly since the whole authentication process is managed by authenticate
.
.refresh_token(google_auth)
google_auth |
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.