get_google_token: Retrieve Google token from environment and configs for httr

Description Usage Arguments Value See Also

View source: R/auth.R

Description

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

Usage

1
get_google_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

See Also

Other authentication functions: gar_attach_auto_auth, gar_auth_service, gar_auth, gar_auto_auth, gar_gce_auth, token_exists


MarkEdmondson1234/googleAuthR documentation built on March 22, 2019, 5:49 p.m.