This is the legacy mechanism for retrieving the authorization token using
OAuth. It has been replaced by aw_auth()
.
Usage
aw_token(
client_id = Sys.getenv("AW_CLIENT_ID"),
client_secret = Sys.getenv("AW_CLIENT_SECRET"),
use_oob = TRUE
)
Value
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.