rscloud_authenticate: RStudio Cloud API Authentication

View source: R/auth.R

rscloud_authenticateR Documentation

RStudio Cloud API Authentication

Description

Authenticate to use the RStudio Cloud API. This function should normally not be called by the user, as rscloud functions authenticate as needed automatically.

Usage

rscloud_authenticate(force = FALSE)

Arguments

force

Whether to autheticate regardless of an existing access token; useful if one needs to change accounts during a session. Defaults to FALSE.

Details

The authentication function looks for credentials in the environment variables RSCLOUD_CLIENT_ID and RSCLOUD_CLIENT_SECRET. These can be requested from the RStudio Cloud team.


rstudio/rscloud documentation built on Oct. 8, 2022, 4:24 p.m.