Skip to content

feat(auth): reexport token_source && rename internal TokenSource #369

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

washanhanzi
Copy link

The current TokenSource is confusing. At first I thought it's gcloud_auth::token_source::TokenSource, but then I found it's actually token_source::TokenSource.

And for the example, we already delete the foundation/token and I need to manually add token_source dependency and use token_source::TokenSourceProvider.

  1. reexport token_source::{TokenSource,TokenSourceProvider} in gcloud_auth::token.
  2. rename gcloud::token_source::TokenSource to gcloud::token_source::GcloudTokenSource.

1. reexport token_source::{TokenSource,TokenSourceProvider} in gcloud_auth::token.

2. rename gcloud::token::token_source::TokenSource to gcloud::token::token_source:: GoogleCloudTokenSource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test safe to test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants