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

Add setter to auth Config #293

Merged
merged 2 commits into from
Aug 4, 2024
Merged

Add setter to auth Config #293

merged 2 commits into from
Aug 4, 2024

Conversation

yoshidan
Copy link
Owner

@yoshidan yoshidan commented Aug 4, 2024

Before

 let config = google_cloud_auth::project::Config {
      audience: Some(crate::apiv1::conn_pool::AUDIENCE),
      scopes: Some(&crate::apiv1::conn_pool::SCOPES),
      sub: None,
      ..Default::default()
  }

After

   let config = google_cloud_auth::project::Config::default()
            .with_audience(crate::apiv1::conn_pool::AUDIENCE)
            .with_scopes(&crate::apiv1::conn_pool::SCOPES);

@yoshidan yoshidan added the safe to test safe to test label Aug 4, 2024
@yoshidan yoshidan added safe to test safe to test and removed safe to test safe to test labels Aug 4, 2024
@yoshidan yoshidan merged commit 5fc08f8 into main Aug 4, 2024
9 checks passed
@yoshidan yoshidan deleted the make_config_buildable branch August 4, 2024 09:11
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.

1 participant