
Function to check that required environment variables for APPS authentication are set and valid
Source:R/utils.R
check_secrets.RdFunction to check that required environment variables for APPS authentication are set and valid
Usage
check_secrets(verbose = FALSE, sandbox = is_sandbox_mode())Arguments
- verbose
logical; if TRUE, prints the current values of relevant environment variables (masking secrets) to the console
- sandbox
If TRUE, the OAuth secret checks are skipped (sandbox mode simulates the login and needs no client credentials); instead the presence of
CSIAPPS_ACCESS_TOKENis reported, since that determines whether real registration data is available. Never errors in sandbox mode. Defaults tois_sandbox_mode(). See csiapps-sandbox.