refresh_auth_token: Refresh Outreach Authentication Token

Description Usage Arguments

View source: R/authenticate.R

Description

Authentication tokens granted by the Outreach.io API last for only 120 minutes. After which period the tokens need to be refreshed using the refresh token provided alongside the grant token.

Usage

1
2
3
4
5
6
refresh_auth_token(
  key,
  secret,
  redirect,
  refresh_token = Sys.getenv("OUTREACH_REFRESH")
)

Arguments

key

The application or client ID provided to you by Outreach.io.

secret

The secret provided by Outreach.io.

redirect

The callback URI or URL provided by Outreach.io.


JosiahParry/outReach documentation built on June 7, 2021, 7:45 a.m.