oauth1.0_token
and oauth2.0_token
.TokenToken1.0
Token2.0
TokenServiceAccount
cache()
: caches token to disksign(method, url)
: returns list of url and configrefresh()
: refresh access token (if possible)validate()
: TRUE if the token is still valid, FALSE otherwise.httr-oauth
saved in the current working directory. Caching is enabled if:.httr-oauth
file is already present, ORgetOption("httr_oauth_cache")
isTRUE
You can suppress caching by setting the httr_oauth_cache
option to
FALSE
.
Tokens are cached based on their endpoint and parameters.
The cache file should not be included in source code control or R packages (because it contains private information), so httr will automatically add the appropriate entries to `.gitignore` and `.Rbuildignore` if needed.