dot-rp_checkAccessToken: Check & Auto-Renew Bearer Tokens (Internal)

.rp_checkAccessTokenR Documentation

Check & Auto-Renew Bearer Tokens (Internal)

Description

Check & Auto-Renew Bearer Tokens (Internal)

Usage

.rp_checkAccessToken(printMsg = FALSE, mins = 120)

Arguments

printMsg

= (bool) Should outcome messages be printed out? defaults to FALSE

mins

= (int) The number of minutes that the bearer token will be valid for.

Value

Checks validity of Bearer Token & auto-updates if needed. Assigns the new tokens in 'rp' environment and 'rp_tokens.rds' file

Examples

## Not run: 
  # For Internal Use Prior to Making API Requests
  .rp_checkAccessToken(printMsg=FALSE, mins=120)

## End(Not run)

rPublic documentation built on Aug. 23, 2025, 1:12 a.m.