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

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