gd_token: Retrieve and report on the current token

Description Usage Arguments Value Examples

View source: R/gd_token-print.R

Description

Prints information about the Google token that is in force and returns the token invisibly.

Usage

1
2
3
gd_token(verbose = TRUE)

gs_token(verbose = TRUE)

Arguments

verbose

logical; do you want informative messages?

Value

an OAuth token object, specifically a Token2.0, invisibly

Examples

1
2
3
4
5
6
7
8
## Not run: 
## load/refresh existing credentials, if available
## otherwise, go to browser for authentication and authorization
gs_auth()

gd_token()

## End(Not run)

jennybc/googlesheets documentation built on Feb. 8, 2022, 11:48 p.m.