This is the legacy mechanism for retrieving the authorization token using
OAuth. It has been replaced by aw_auth()
.
aw_token(
client_id = Sys.getenv("AW_CLIENT_ID"),
client_secret = Sys.getenv("AW_CLIENT_SECRET"),
use_oob = TRUE
)
defined by global variable or manually defined
defined by global variable or manually defined
for the purpose of testing. Default is set to TRUE
An authorization token is saved the file name aa.oauth. If the file aa.oauth does not exist then one will be created at the end of the authorization process.