Learn R Programming

googleAuthR (version 0.3.0)

get_google_token: Retrieve Google token from environment and configs for httr

Description

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

Usage

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_auth_service, gar_auth, is_legit_token, token_exists