get_strava_token: Retrieve Strava token from environment and configs for httr

Description Usage Arguments Value

View source: R/strava_auth.R

Description

Get token if it's previously stored, else prompt user to get one.

Usage

1
get_strava_token(shiny_return_token = NULL)

Arguments

shiny_return_token

In a shiny session, this is passed instead.

Value

a httr configured option for token For shiny the token is passed from reactive session


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