Package: gargle 1.5.2.9000

Jennifer Bryan

gargle: Utilities for Working with Google APIs

Provides utilities for working with Google APIs <https://developers.google.com/apis-explorer>. This includes functions and classes for handling common credential types and for preparing, executing, and processing HTTP requests.

Authors:Jennifer Bryan [aut, cre], Craig Citro [aut], Hadley Wickham [aut], Google Inc [cph], Posit Software, PBC [cph, fnd]

gargle_1.5.2.9000.tar.gz
gargle_1.5.2.9000.zip(r-4.5)gargle_1.5.2.9000.zip(r-4.4)gargle_1.5.2.9000.zip(r-4.3)
gargle_1.5.2.9000.tgz(r-4.4-any)gargle_1.5.2.9000.tgz(r-4.3-any)
gargle_1.5.2.9000.tar.gz(r-4.5-noble)gargle_1.5.2.9000.tar.gz(r-4.4-noble)
gargle_1.5.2.9000.tgz(r-4.4-emscripten)gargle_1.5.2.9000.tgz(r-4.3-emscripten)
gargle.pdf |gargle.html
gargle/json (API)
NEWS

# Install 'gargle' in R:
install.packages('gargle', repos = c('https://r-lib.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-lib/gargle/issues

Pkgdown:https://gargle.r-lib.org

On CRAN:

authenticationgoogle

14.90 score 113 stars 192 packages 266 scripts 641k downloads 61 exports 15 dependencies

Last updated 1 years agofrom:ef00eb0581. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 28 2024
R-4.5-winNOTENov 28 2024
R-4.5-linuxNOTENov 28 2024
R-4.4-winOKNov 28 2024
R-4.4-macOKNov 28 2024
R-4.3-winOKNov 28 2024
R-4.3-macOKNov 28 2024

Exports:AuthStatebulletizecheck_is_service_accountcred_funs_addcred_funs_clearcred_funs_listcred_funs_list_defaultcred_funs_setcred_funs_set_defaultcredentials_app_defaultcredentials_byo_oauth2credentials_external_accountcredentials_gcecredentials_service_accountcredentials_user_oauth2field_maskgargle_api_keygargle_appgargle_clientgargle_error_messagegargle_map_cligargle_oauth_cachegargle_oauth_clientgargle_oauth_client_from_jsongargle_oauth_client_typegargle_oauth_emailgargle_oauth_sitrepgargle_oob_defaultgargle_verbosityGargle2.0gargle2.0_tokengce_access_tokengce_instance_service_accountsGceTokeninit_AuthStatelocal_cred_funslocal_gargle_verbosityoauth_app_from_jsonoauth_external_tokenrequest_buildrequest_developrequest_makerequest_retryresponse_as_jsonresponse_processsecret_decrypt_jsonsecret_encrypt_jsonsecret_has_keysecret_make_keysecret_read_rdssecret_write_rdstidyverse_api_keytidyverse_apptidyverse_clienttoken_emailtoken_fetchtoken_tokeninfotoken_userinfoWifTokenwith_cred_funswith_gargle_verbosity

Dependencies:askpassclicurlfsgluehttrjsonlitelifecyclemimeopensslR6rappdirsrlangsyswithr

Auth when using R from the browser

Rendered fromauth-from-web.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-05-24
Started: 2019-08-16

How gargle gets tokens

Rendered fromhow-gargle-gets-tokens.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-04-07
Started: 2019-04-18

How to get your own API credentials

Rendered fromget-api-credentials.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-04-06
Started: 2019-06-11

How to use gargle for auth in a client package

Rendered fromgargle-auth-in-client-package.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-07-20
Started: 2019-01-30

Non-interactive auth

Rendered fromnon-interactive-auth.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-05-24
Started: 2019-07-01

Request helper functions

Rendered fromrequest-helper-functions.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2019-06-11
Started: 2019-02-25

Transition from OAuth app to OAuth client

Rendered fromoauth-client-not-app.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-05-24
Started: 2023-05-24

Troubleshooting gargle auth

Rendered fromtroubleshooting.Rmdusingknitr::rmarkdownon Nov 28 2024.

Last update: 2023-06-01
Started: 2020-05-01

Readme and manuals

Help Manual

Help pageTopics
Authorization stateAuthState AuthState-class
Credential function registrycred_funs cred_funs_add cred_funs_clear cred_funs_list cred_funs_list_default cred_funs_set cred_funs_set_default local_cred_funs with_cred_funs
Load Application Default Credentialscredentials_app_default
Load a user-provided tokencredentials_byo_oauth2
Get a token for an external accountcredentials_external_account
Get a token from the Google metadata servercredentials_gce
Load a service account tokencredentials_service_account
Get an OAuth token for a usercredentials_user_oauth2
Generate a field maskfield_mask
Create an OAuth client for Googlegargle_oauth_client gargle_oauth_client_from_json
OAuth token situation reportgargle_oauth_sitrep
Options consulted by garglegargle_oauth_cache gargle_oauth_client_type gargle_oauth_email gargle_oob_default gargle_options gargle_verbosity local_gargle_verbosity with_gargle_verbosity
Encrypt/decrypt JSON or an R objectgargle_secret secret_decrypt_json secret_encrypt_json secret_has_key secret_make_key secret_read_rds secret_write_rds
Generate a gargle tokengargle2.0_token
List all service accounts available on this GCE instancegce_instance_service_accounts
Create an AuthStateinit_AuthState
Build a Google API requestrequest_build request_develop
Make a Google API requestrequest_make
Make a Google API request, repeatedlyrequest_retry
Process a Google API responsegargle_error_message response_as_json response_process
Fetch a token for the given scopestoken_fetch
Get info from a tokentoken-info token_email token_tokeninfo token_userinfo