Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update credshelper package #571

Closed
wants to merge 2 commits into from

Conversation

banikharbanda
Copy link
Collaborator

  • Made externalTokenSource implement PerRPC creds interface as well
  • Added headers and tests related to this

This adds all the credentials helper relevant code from
bazelbuild/reclient/internal/pkg/auth to the new credshelper package in
remote-apis-sdks with some changes:
- CredentialsHelper isn't an auth "Mechanism" (since we're only
  supporting one mechanism, we don't need to define a type for that)
- If no cache file is provided then it is assumed that no caching is
  required. If a valid cache file path is provided then it always caches
credentials.
- Updated oauth2 package version to support ReuseTokenWithExpiry - this
  had to be moved earlier in the Workspace file to override older
versions imported from elsewhere.
- Made externalTokenSource implement PerRPC creds interface as well
- Added headers and tests related to this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant