-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some weirdness in google.Keychain (#807)
Add a NewTokenSourceAuthenticator function that converts an oauth2.TokenSource into an authn.Authenticator, for convenience. Make NewEnvAuthenticator actually pull down a token to make sure we actually found valid credentials, for use in google.Keychain. Remove some unit tests that relied on us not doing that.
- Loading branch information
1 parent
fb6ca2e
commit 8bdb226
Showing
2 changed files
with
11 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters