strava_check_existing_token: Check a token vs options

Description Usage Arguments Details Value

View source: R/checks.R

Description

Useful for debugging authentication issues

Usage

1
strava_check_existing_token(token = StravaAuth$public_fields$token)

Arguments

token

A token to check, default current live session token

Details

Will compare the passed token's settings and compare to set options. If these differ, then reauthentication may be needed.

Value

FALSE if the options and current token do not match, TRUE if they do.


lynuhs/stravaR documentation built on Feb. 8, 2021, 11:10 p.m.