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

feat(auth): add httptransport package #8567

Merged
merged 6 commits into from
Sep 13, 2023
Merged

Conversation

codyoss
Copy link
Member

@codyoss codyoss commented Sep 13, 2023

This package is the equivalent of
google.golang.org/api/transport/http for the new auth library. The biggest different is the main function does not return an endpoint so we will want to add a helper in gax or somewhere for this. Also, there are is an extra helper to add a TokenProvider to a http.Client which should elveate some user needs for extra extenisablity of a client. They can simply customize away and user the helper to add auth.

This PR is part 1 of 2 to make it easier to review. Took away anything dealing with certs/tls for now and will fast follow and comment back in some of the code in this PR.

@product-auto-label product-auto-label bot added the size: xl Pull request size is extra large. label Sep 13, 2023
This package is the equivalent of
google.golang.org/api/transport/http for the new auth library. The
biggest different is the main function does not return an endpoint
so we will want to add a helper in gax or somewhere for this. Also,
there are is an extra helper to add a TokenProvider to a http.Client
which should elveate some user needs for extra extenisablity of a
client. They can simply customize away and user the helper to add
auth.
@codyoss codyoss marked this pull request as ready for review September 13, 2023 18:00
@codyoss codyoss requested a review from a team as a code owner September 13, 2023 18:00
codyoss added a commit to codyoss/google-cloud-go that referenced this pull request Sep 13, 2023
@codyoss codyoss merged commit 6898597 into googleapis:main Sep 13, 2023
9 checks passed
@codyoss codyoss deleted the auth5 branch September 13, 2023 23:10
codyoss added a commit to codyoss/google-cloud-go that referenced this pull request Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants