set_refresh_token | R Documentation |
Function to set refresh token (obtained from a successful login flow) in the smart connect object.
set_refresh_token(object, refresh_token)
object |
an S4 object of type smart connect. |
refresh_token |
a string containing the refresh token from login flow. |
This function allows to set the refresh token of the smart connect object. The refresh token is obtained from a successful login flow. After the login flow, the user is redirected to a pre-specified URL. The refresh token is posted alongwith as a query parameter.
Returns the object with refresh token field set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.