myTarRefreshToken: Refresh Access Token

Description Usage Arguments Value Examples

View source: R/myTarRefreshToken.R

Description

Refresh Access Token

Usage

1
myTarRefreshToken(old_auth = NULL, client_id = NULL, client_secret = NULL)

Arguments

old_auth

Your old auth object. See myTarAuth

client_id

Your client ID

client_secret

Your client secret

Value

No return value, called for side effects

Examples

1
2
3
4
5
6
## Not run: 
auth <- myTarRefreshToken(old_auth = myTargetAuth,
                         client_id = "xxxx",
                         client_secret = "xxxx.")

## End(Not run)

rmytarget documentation built on Oct. 20, 2021, 5:08 p.m.