analogsea (version 0.8.0)

do_oauth: Authorize with Digital Ocean.

Description

This function is run automatically to allow analogsea to access your digital ocean account.

Usage

do_oauth(app = do_app, reauth = FALSE)

Arguments

app

An oauth_app for DO. The default uses the standard ROpenSci application.

reauth

(logical) Force re-authorization?

Details

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.