API username. For security reasons, the user could specify cp_api_uid in the user's .Renviron file in the user's home directory (execute Sys.getenv('HOME') in R to check path to home directory). That way, the user does not have to hard code the username in their R script. The function uses for the username here by default.
password
API password. The user could specify cp_api_pwd as above.
client_id
parameter needed in the http body in order to obtain a token (unique to username)
scope
parameter needed in the http body in order to obtain a token (unique to username)
auth_endpoint
Authentication endpoint/url, defaults to 'https://oauth.calpassplus.org/connect/token'.
verbose
If TRUE, then print http exchanges (to assist with debugging). Defaults to FALSE.