set_stored_token: Get and set stored tokens

Description Usage Arguments Value Functions

View source: R/auth.R

Description

Get and set stored tokens

Set stored token

Usage

1
2
3
4
5
6
7
set_stored_token(
  account_set,
  token_type = c(REFRESH_TOKEN, ACCESS_TOKEN),
  value = NULL
)

get_stored_token(account_set, token_type = c(REFRESH_TOKEN, ACCESS_TOKEN))

Arguments

account_set

an account_set object

token_type

what type of token to store? Either REFRESH_TOKEN or ACCESS_TOKEN.

value

The value to store. If blank, the user will be prompted for a token.

Value

get_stored_token returns an account_set object

Functions


colin-fraser/questradeR documentation built on Dec. 31, 2020, 10:05 p.m.