Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sf_auth_refresh

Refresh an existing Authorized Salesforce Token


Description

Force the current OAuth to refresh. This is only needed for times when you load the token from outside the current working directory, it is expired, and you're running in non-interactive mode.

Usage

sf_auth_refresh(verbose = FALSE)

Arguments

verbose

logical; an indicator of whether to print additional detail for each API call, which is useful for debugging. More specifically, when set to TRUE the URL, header, and body will be printed for each request, along with additional diagnostic information where available.

Value

a Token2.0 object (an S3 class provided by httr) or a a character string of the sessionId element of the current authorized API session

Note

This function is meant to be used internally. Only use when debugging.


salesforcer

An Implementation of 'Salesforce' APIs Using Tidy Principles

v0.2.2
MIT + file LICENSE
Authors
Steven M. Mortimer [aut, cre], Takekatsu Hiramura [ctb], Jennifer Bryan [ctb, cph], Joanna Zhao [ctb, cph]
Initial release
2020-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.