Comments (4)
I have started to record this:
https://gargle.r-lib.org/articles/gargle-auth-in-client-package.html
So take a look there first, then maybe more discussion, before heading to a PR.
from gargle.
Having used gargle (or started to) in googledrive, googlesheets4, and bigrquery, there's a reason that I think client packages need to implement an auth and deauth function. There are small differences that matter in the user-facing function. But I'm trying to layout the pattern and, for example, offer helpers in gargle to make sure that the documentation is standard.
from gargle.
Ok, I'll be sure to take a look at all of the implementations before submitting a PR. I think this might be doable, but, if nothing else, I'm teaching myself a bit about function factories (and body() and formals()).
from gargle.
I left my reasoning for closing this on the associate PR #58. Thanks for being a gargle pioneer and please keep the feedback coming.
from gargle.
Related Issues (20)
- Give the developer a small window of opportunity to know about retries HOT 1
- Should `credentials_gce()` consult a named `email` argument in `...`? HOT 2
- `credentials_byo_oauth2()` should not have hard check for `endpoint` HOT 1
- Release gargle 1.4.0 HOT 1
- gargle::credentials_service_account() gives JSON premature EOF error HOT 1
- Could not parse cli `{}` expression HOT 4
- Finish the app -> client transition
- Mention `gargle_oauth_client_type()` in `PREFIX_auth_description()` HOT 1
- Encrypt OAuth tokens in the cache
- Auth in Databricks notebooks HOT 1
- Release gargle 1.5.0 HOT 1
- Creating pseudo OOB auth from DIY client HOT 3
- Access blocked: Tidyverse API Packages’s request is invalid HOT 2
- application_default_credentials() doesn't support "impersonated_service_account" credentials (and gives confusing messages)
- Release gargle 1.5.1 HOT 1
- Release gargle 1.5.2 HOT 1
- How to use user_params in token_fetch() function HOT 2
- Can the error from `check_is_service_account()` be improved?
- Errro when i try readRDS cache file
- Get cache files metadata function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gargle.