Description Usage Arguments Value Author(s) See Also Examples
View source: R/myTarRefreshToken.R
Refresh old access token
1 2 | myTarRefreshToken(old_auth = NULL, client_id = NULL,
client_secret = NULL)
|
old_auth |
Your old auth object |
client_id |
Your client ID |
client_secret |
Your client secret |
R auth object with new acess token
Alexey Seleznev
https://target.my.com/doc/api/detailed/#resource_oauth2_access_token
1 2 3 4 5 6 | ## Not run:
auth <- myTarRefreshToken(old_auth = myTargetAuth,
client_id = "xxxx",
client_secret = "xxxx.")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.