persistAccessToken,KorAPConnection-method | R Documentation |
Persist current access token in keyring
## S4 method for signature 'KorAPConnection'
persistAccessToken(kco, accessToken = kco@accessToken)
kco |
KorAPConnection object |
accessToken |
access token to be persisted. If not supplied, the current access token of the KorAPConnection object will be used. |
KorAPConnection object.
clearAccessToken()
, auth()
## Not run:
kco <- KorAPConnection(accessToken="e739u6eOzkwADQPdVChxFg")
persistAccessToken(kco)
kco <- KorAPConnection() %>% auth(app_id="<my application id>") %>% persistAccessToken()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.