The function will install the Client ID, Client Secret, and
Authentication Token to the .Renviron
file for repeated use. However,
tokens expire after 24 hours so after the initial install, running
blizz_auth(refresh = TRUE)
will be required once the 24 hour period
has passed.
blizz_auth(id, secret, refresh = FALSE, install = TRUE)
id | The Client ID provided once a Client has been made on Blizzard's Dev Portal. |
---|---|
secret | The Client Secret provided once a Client has been made on Blizzard's Dev Portal. |
refresh | If TRUE, the CLIENT_AUTH_TOKEN will be refreshed. Blizzard Auth Tokens expire after 24 hours. |
install | If TRUE, will install the key in your |