This function is run automatically to allow analogsea to access your digital ocean account.
do_oauth(app = do_app, reauth = FALSE)
An oauth_app
for DO. The default uses the
standard ROpenSci application.
(logical) Force re-authorization?
There are two ways to authorise analogsea to work with your digital ocean account:
Generate a personal access token at
https://cloud.digitalocean.com/settings/api/tokens and
record in the DO_PAT
envar.
Interatively login into your DO account and authorise with OAuth.
Using DO_PAT
is recommended.