| aw_token | R Documentation | 
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
)
| client_id | defined by global variable or manually defined | 
| client_secret | defined by global variable or manually defined | 
| use_oob | 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.
aw_auth()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.