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 — feat: added getter for credentials object in HttpCredentialsAdapter by shubha-rajan · Pull Request #658 · googleapis/google-auth-library-java

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

Conversation

@shubha-rajan

@shubha-rajan shubha-rajan commented May 12, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #659☕️

Sorry, something went wrong.

Uh oh!

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

All reactions
shubha-rajan added 2 commits May 12, 2021 09:56
@shubha-rajan
feat: added getter for credentials object in HttpCredentialsAdapter
20f11cd
@shubha-rajan
add test for getCredentials
c4b430c
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 12, 2021
@codecov

codecov Bot commented May 12, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codecov Report

Merging #658 (bfc1e86) into master (292e81a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head bfc1e86 differs from pull request most recent head 30f2371. Consider uploading reports for the commit 30f2371 to get more accurate results
Impacted file tree graph

@@            Coverage Diff            @@
##             master     #658   +/-   ##
=========================================
  Coverage     83.59%   83.59%           
- Complexity      606      607    +1     
=========================================
  Files            42       42           
  Lines          2712     2713    +1     
  Branches        289      289           
=========================================
+ Hits           2267     2268    +1     
  Misses          303      303           
  Partials        142      142           
Impacted Files Coverage Δ Complexity Δ
...a/com/google/auth/http/HttpCredentialsAdapter.java 68.18% <100.00%> (+0.73%) 9.00 <1.00> (+1.00)

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 cc13ac6...30f2371. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shubha-rajan
shubha-rajan force-pushed the credentials-getter branch from 52f0106 to 4a9cfd4 Compare May 12, 2021 17:30
@shubha-rajan
fix imports and formatting
bfc1e86
@shubha-rajan
shubha-rajan force-pushed the credentials-getter branch from 4a9cfd4 to bfc1e86 Compare May 12, 2021 17:36
@shubha-rajan
shubha-rajan marked this pull request as ready for review May 12, 2021 17:47
@shubha-rajan
shubha-rajan requested a review from a team May 12, 2021 17:47
@shubha-rajan shubha-rajan mentioned this pull request May 12, 2021
feat: add support for Postgres IAM authentication in JDBC and R2DBC connectors GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#490
Merged
3 tasks
Neenu1995
Neenu1995 approved these changes May 13, 2021
View reviewed changes
@shubha-rajan
Merge branch 'master' into credentials-getter
30f2371
@shubha-rajan
shubha-rajan merged commit 5a946ea into googleapis:master May 13, 2021
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 20, 2021
@release-please
chore: release 0.26.0 (#644)
db2f85a
🤖 I have created a release \*beep\* \*boop\*
---
## [0.26.0](https://www.github.com/googleapis/google-auth-library-java/compare/v0.25.5...v0.26.0) (2021-05-20)


### Features

* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#674](https://www.github.com/googleapis/google-auth-library-java/issues/674)) ([359b20f](https://www.github.com/googleapis/google-auth-library-java/commit/359b20f24f88e09b6b104c61ca63a1b604ea64d2))
* added getter for credentials object in HttpCredentialsAdapter ([#658](https://www.github.com/googleapis/google-auth-library-java/issues/658)) ([5a946ea](https://www.github.com/googleapis/google-auth-library-java/commit/5a946ea5e0d974611f2205f468236db4b931e486))
* enable pre-emptive async oauth token refreshes ([#646](https://www.github.com/googleapis/google-auth-library-java/issues/646)) ([e3f4c7e](https://www.github.com/googleapis/google-auth-library-java/commit/e3f4c7eac0417705553ef8259599ec29fc8ad9b4))
* Returning an issuer claim on request errors ([#656](https://www.github.com/googleapis/google-auth-library-java/issues/656)) ([95d70ae](https://www.github.com/googleapis/google-auth-library-java/commit/95d70ae0f5f4c985455f913ddef14ebe75500656))


### Bug Fixes

* use orginal url as audience for self signed jwt if scheme or host is null ([#642](https://www.github.com/googleapis/google-auth-library-java/issues/642)) ([b4e6f1a](https://www.github.com/googleapis/google-auth-library-java/commit/b4e6f1a0bd17dd31edc85ed4879cea75857fd747))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@shubha-rajan shubha-rajan mentioned this pull request Sep 15, 2021
Allow external GoogleCredentials authentication GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#66
Closed
@release-please release-please Bot mentioned this pull request Jan 4, 2022
chore(main): release google-auth-library-java 1.0.0 #819
Closed
@release-please release-please Bot mentioned this pull request Aug 11, 2022
chore(main): release 1.11.0 #974
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@Neenu1995 Neenu1995 Neenu1995 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.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add getter for credentials object in HttpCredentialsAdapter

Uh oh!

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

2 participants

@shubha-rajan @Neenu1995
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.