Skip to content

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

Open
washanhanzi wants to merge 1 commit intoyoshidan:mainfrom
washanhanzi:main
Open

feat(auth): reexport token_source && rename internal TokenSource#369
washanhanzi wants to merge 1 commit intoyoshidan:mainfrom
washanhanzi:main

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