NEWS.md
    gar_service_get_roles()
cli
gar_set_client() returning web-project id if expecting project id and both env arguments are set.gar_service_provision() and gar_service_get() as API error message changed (#197)gar_discovery_api()
gar_create_package() to check = FALSE, github=FALSEgar_discovery_*() objects so they work with jsonlite
gar_service_list() and gar_service_get()
gar_service_create() and it already exists, will return existing via gar_service_get()
googleCloudRunner to googleAuthR so they are available for all packages.new_user param from gar_auth()
gar_scope_config
gcr.io/gcer-public/googleauthr
gar_gce_auth
googleSignIn documentation (#171, @jonthegeek).gar_debug_parsing() messagegar_auth_jsUI since it causes an issue when usedgar_service_* to provision service accounts via R (#178)approval_prompt as its replaced by prompt (#177 - thanks @OuNao/@rasmes/@hugovk)isFALSE function (#158 - thanks @matthijsvanderloos)gar_gce_auth()
gar_auto_auth() block library installation if auth files not correct.library(gargle) as backend for authentication functionsgar_auth() if an API call has no auth setgargle
googleSignInUI’s logout button via logout_name and logout_class parametersgoogleSignIn modulegar_auto_auth()
create_package() and use_github() as they are removed in devtools 2.1.0 (@jimhester, #150).gar_debug_parsing to help debug API parsing errors.gar_set_client() to help deployments on Shinyapps.iogar_api_page()
gar_set_scopes() to allow multiple scopes when setting with web_json
gar_auto_auth to only require one of the scopes specified, instead of all of themTRAVIS_AUTH
httptest if used with with_mock_api() vs with_mock_API()
option(googleAuthR.redirect) to help publish Shiny apps to some platforms (#136)gar_gce_auth_default() (#147)https://www.googleapis.com/batch batch endpoint fully as per https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html
gar_api_page() to help page through APIs (#121)url_override argument to generated Google API functions to help with (#121)googleSignIn
gar_shiny_auth()
gar_set_client to load client id/secret from JSON (Idea via @jennybc / @jimhester at gargle/gmailr)gar_auth(token = "blah") that doesn’t exist, will create new token there instead of an erroroptions() or by setting up environment arguments (#74):
GAR_CLIENTIDGAR_CLIENT_SECRETGAR_WEB_CLIENTIDGAR_WEB_CLIENT_SECRETGAR_SCOPEgar_gce_auth_email
httrs RETRY function for retries that handles handles better (#67)googleAuthR.batch_endpoint option for specific library batches.gar_check_existing_token() to improve user feedback on why a reauthentication occurshttp2 framing layer error that sometimes happens in misconfigured http2 servers (#87)3.3.0 to support Shiny function bugs.gar_gce_auth() (#52).httr-oauth token has different scopes to the ones specified at time of authentication (#53)option(googleAuthR.verbose = 0) then a request with a body will write to a file request_debug.rds in working directorygar_auth("file-location.rds") will only load the first element [[1]] if that token is a list of Token2.0 class objectsgar_token_info() which will report on current authentication. Available at options(googleAuthR.verbose = 2)
gar_auth_service to see if you have downloaded right JSON filegar_discovery_apis_list and gar_discovery_api
gar_create_package that takes gar_discovery_api JSON and creates R packagegar_auto_auth and gar_attach_auto_auth for auto-authentication upon a package loadgar_auth()
gar_auth now raises errors not NULL for passing incorrect token file locations of tokensgar_auth respects renamed .httr-oauth tokens now via getOption("googleAuthR.httr_oauth_cache")
https://github.com/MarkEdmondson1234/autoGoogleAPI
option(googleAuthR.rawResponse) - skip API checks on response - should now work?googleAuthR
option(googleAuthR.rawResponse) - skip API checks on response./inst/shiny/shiny-example.R
googleAuthR:::gar_gadget()
getOption("googleAuthR.jsonlite.simplifyVector")
googleAuthR.verbose to control feedback. 0 = everything, 1 = debug, 2=normal, 3=importantgar_auth_service to param for more flexibilitycustomConfig in gar_api_generator
gar_shiny_getUrl and the authentication type (online/offline) in renderLogin
renderLogin : logout now has option revoke to revoke authentication tokengoogleAuthR.jsonlite.simplifyVector for content parsing for compatibility for some APIs?gar_batch and ?gar_batch_walk for details.!is.null(access_token()) to detect login statewith_shiny environment lookup to within generated function