This function authenticates you into Dropbox. The documentation for the
core Dropbox API provides
more details including alternate methods if you desire to reimplement your
own.
Default is FALSE. Set to TRUE if you need to
switch to a new user account or just flush existing token.
key
Your application key. rdrop2 already comes with a key/secret but
you are welcome to swap out with our own. Since these keys are shipped with
the package, there is a small chance they could be voided if someone abuses
the key. So if you plan to use this in production, or for an internal tool,
the recommended practice is to create a new application on Dropbox and use
those keys for your purposes.
secret
Your application token. rdrop2 already comes with a key/secret
but you are welcome to swap out with our own.
cache
By default your credentials are locally cached in a file called
.httr-oauth. Set to FALSE if you need to authenticate separately each
time.
## Not run: # drop_auth()# # If you want to overwrite an existing tokend and switch to a new user,# # set new_user to TRUE.# drop_auth(new_user = TRUE)# ## End(Not run)