is_legit_token: Check that token appears to be legitimate

View source: R/auth.R

is_legit_tokenR Documentation

Check that token appears to be legitimate

Description

Check that token appears to be legitimate

Usage

is_legit_token(x, verbose = FALSE)

Arguments

x

an object that is supposed to be an object of class Token2.0 (an S3 class provided by httr). If so, the result will return TRUE.

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

logical


salesforcer documentation built on March 18, 2022, 6:26 p.m.