GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Defer Credential building in HttpCredentialsAdapter until request time by chingor13 · Pull Request #223 · googleapis/google-auth-library-java

This repository was archived by the owner on May 12, 2026. It is now read-only.

Conversation

@chingor13

@chingor13 chingor13 commented Jan 16, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #119

Note that this is a slight behavioral change that delays fetching the request metadata (fetch credentials) until right before the request is executing using a HttpExecuteInterceptor. If the user has already configured an interceptor, we run theirs before fetching credentials.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chingor13
chingor13 requested a review from a team January 16, 2019 23:33
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 16, 2019
chingor13 added 3 commits January 16, 2019 17:13
@chingor13
Fix assert order
fb578a8
@chingor13
Add failing test for service account jwt access token getting uri fro…
21de796
…m the request
@chingor13
Delay fetching metadata until the request is made
216dd97
@chingor13 chingor13 mentioned this pull request Jan 17, 2019
Audience URI? #119
Closed
@JustinBeckwith JustinBeckwith added the 🚨 This issue needs some love. label Feb 7, 2019
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. and removed 🚨 This issue needs some love. labels Feb 7, 2019
@sduskis sduskis added status: blocked Resolving the issue is dependent on other work. and removed 🚨 This issue needs some love. labels Feb 13, 2019
sduskis
sduskis reviewed Jun 3, 2019
View reviewed changes
Comment thread oauth2_http/java/com/google/auth/http/HttpCredentialsAdapter.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

sduskis
sduskis approved these changes Jun 4, 2019
View reviewed changes
@chingor13
One-liner ArrayList instantiation
1823e98
@chingor13 chingor13 changed the title WIP: Set audience URI from request URI for ServiceAccountJwtAccessCredentials Defer Credential building in HttpCredentialsAdapter until request time Jul 15, 2019
@codecov

codecov Bot commented Jul 15, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@ee67b5d). Click here to learn what that means.
The diff coverage is 81.25%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #223   +/-   ##
=========================================
  Coverage          ?   78.77%           
  Complexity        ?      338           
=========================================
  Files             ?       21           
  Lines             ?     1498           
  Branches          ?      163           
=========================================
  Hits              ?     1180           
  Misses            ?      238           
  Partials          ?       80
Impacted Files Coverage Δ Complexity Δ
...a/com/google/auth/http/HttpCredentialsAdapter.java 67.39% <81.25%> (ø) 6 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee67b5d...1823e98. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chingor13

chingor13 commented Jul 16, 2019

Copy link
Copy Markdown
Contributor Author

This shouldn't actually be necessary with the explicit credentials building from #290

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chingor13 chingor13 closed this Jul 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@sduskis sduskis sduskis approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement. status: blocked Resolving the issue is dependent on other work.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Audience URI?

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@chingor13 @sduskis @JustinBeckwith @googlebot @yoshi-automation
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.