Consider GoogleCredential.WithHttpClientFactory
See original GitHub issueWe’ve seen a few issues where users have wanted to set a proxy locally - and they can do so via an HttpClientFactory
for the main service, but doing that for auth is harder.
For GoogleCredential
, adding a CreateWithHttpClientFactory
method would be in line with our CreateWithUser
call. That wouldn’t help for UserCredential
, admittedly.
Do we also want to provide an out-of-the-box proxy-supporting HttpClientFactory
to avoid each user doing their own thing?
I’m not at all certain we want to do any of this, but we should at least consider it.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Class GoogleCredential (2.1.2) | Java client library
This is the built-in service account if running on Google Compute Engine or the credentials file from the path in the environment variable ......
Read more >azure - class Google.Apis.Auth.OAuth2.GoogleCredential. ...
As you guessed, the Google Auth Library contains the necessary classes required to authenticate against Google services. Please, consider ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll look into this.
FYI: This has been released on the v1.52.0 of the Google.Apis libraries.
Usage will look something like this: