generate_token | R Documentation |
This function returns an access token given the inputs, that can be used for subsequent api calls.
generate_token(object,refresh_token)
object |
An object of type smart connect, must have refresh token set. |
refresh_token |
refresh token is passed. |
This function generate the 'access_token' by exchanging 'refresh_token'.The 'refresh_token' obtained after the login flow. the 'access_token' required for all subsequent requests. The object passed in this call must already have 'refresh_token' set. A successful call also set the user data within the object.
A string containing the access token.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.