gft_get_token: Fetch/Refresh a cached OAuth Token

Description Usage Arguments Value

Description

If token is supplied then the same token is returned. If a path and file are supplied then the token located there is loaded and refershed if necessary.

Usage

1
2
gft_get_token(path = ".", file = ".httr-oauth",
  token = getOption("gft_token"))

Arguments

path

A character string representing the path to a cached token

file

A character string representing the filename of a cached token

token

An object representing an OAuth token

Value

An object of class Token


jpshanno/gft documentation built on May 24, 2019, 7:34 a.m.