.rp_checkAccessToken | R Documentation |
Check & Auto-Renew Bearer Tokens (Internal)
.rp_checkAccessToken(printMsg = FALSE, mins = 120)
printMsg |
= (bool) Should outcome messages be printed out? defaults to FALSE |
mins |
= (int) The number of minutes that the bearer token will be valid for. |
Checks validity of Bearer Token & auto-updates if needed. Assigns the new tokens in 'rp' environment
and 'rp_tokens.rds' file
## Not run:
# For Internal Use Prior to Making API Requests
.rp_checkAccessToken(printMsg=FALSE, mins=120)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.