Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/google-oauth-java-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.33.2
Choose a base ref
...
head repository: googleapis/google-oauth-java-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.33.3
Choose a head ref
  • 5 commits
  • 24 files changed
  • 4 contributors

Commits on Apr 7, 2022

  1. chore(main): release 1.33.3-SNAPSHOT (#868)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ### Updating meta-information for bleeding-edge SNAPSHOT release.
    
    ---
    This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
    release-please[bot] authored Apr 7, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dd13030 View commit details

Commits on Apr 11, 2022

  1. chore(deps): update dependency com.google.oauth-client:google-oauth-c…

    …lient to v1.33.2 (#869)
    
    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.oauth-client:google-oauth-client](https://togithub.com/googleapis/google-oauth-java-client) | `1.33.1` -> `1.33.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client/1.33.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client/1.33.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client/1.33.2/compatibility-slim/1.33.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.oauth-client:google-oauth-client/1.33.2/confidence-slim/1.33.1)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/google-oauth-java-client</summary>
    
    ### [`v1.33.2`](https://togithub.com/googleapis/google-oauth-java-client/blob/HEAD/CHANGELOG.md#&#8203;1332-httpsgithubcomgoogleapisgoogle-oauth-java-clientcomparev1331v1332-2022-04-07)
    
    [Compare Source](https://togithub.com/googleapis/google-oauth-java-client/compare/v1.33.1...v1.33.2)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/google-oauth-java-client).
    renovate-bot authored Apr 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    51deb09 View commit details

Commits on Apr 12, 2022

  1. chore(deps): update project.http.version to v1.41.7 (#870)

    [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    | [com.google.http-client:google-http-client-findbugs](https://togithub.com/googleapis/google-http-java-client) | `1.41.6` -> `1.41.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-findbugs/1.41.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-findbugs/1.41.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-findbugs/1.41.7/compatibility-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-findbugs/1.41.7/confidence-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) |
    | [com.google.http-client:google-http-client-bom](https://togithub.com/googleapis/google-http-java-client) | `1.41.6` -> `1.41.7` | [![age](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/compatibility-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.http-client:google-http-client-bom/1.41.7/confidence-slim/1.41.6)](https://docs.renovatebot.com/merge-confidence/) |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>googleapis/google-http-java-client</summary>
    
    ### [`v1.41.7`](https://togithub.com/googleapis/google-http-java-client/blob/HEAD/CHANGELOG.md#&#8203;1417-httpsgithubcomgoogleapisgoogle-http-java-clientcomparev1416v1417-2022-04-11)
    
    [Compare Source](https://togithub.com/googleapis/google-http-java-client/compare/v1.41.6...v1.41.7)
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.
    
    ---
    
     - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.
    
    ---
    
    This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/google-oauth-java-client).
    renovate-bot authored Apr 12, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f499cba View commit details

Commits on Apr 13, 2022

  1. fix: add signature verification to IdTokenVerifier (#861)

    * previously missing signature validation ported from google-auth-library-java
    * test cases
    
    Co-authored-by: Tomo Suzuki <suztomo@google.com>
    TimurSadykov and suztomo authored Apr 13, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    22419d6 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c634ad4 View commit details
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -6,4 +6,11 @@ bin/
.idea/
*.iml
.checkstyle
.factorypath

# MacOS
.DS_Store

# VS Code
.vscode/

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

### [1.33.3](https://github.com/googleapis/google-oauth-java-client/compare/v1.33.2...v1.33.3) (2022-04-13)


### Bug Fixes

* add signature verification to IdTokenVerifier ([#861](https://github.com/googleapis/google-oauth-java-client/issues/861)) ([22419d6](https://github.com/googleapis/google-oauth-java-client/commit/22419d60579ef4c1a8a256a90e6ca7bc58f09aa1))

### [1.33.2](https://github.com/googleapis/google-oauth-java-client/compare/v1.33.1...v1.33.2) (2022-04-07)


2 changes: 1 addition & 1 deletion google-oauth-client-appengine/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-appengine</artifactId>
2 changes: 1 addition & 1 deletion google-oauth-client-assembly/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>com.google.oauth-client</groupId>
12 changes: 6 additions & 6 deletions google-oauth-client-bom/pom.xml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-bom</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<packaging>pom</packaging>

<name>Google OAuth Client Library for Java BOM</name>
@@ -63,27 +63,27 @@
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-appengine</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-java6</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-jetty</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
<dependency>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-servlet</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
</dependency>
</dependencies>
</dependencyManagement>
2 changes: 1 addition & 1 deletion google-oauth-client-java6/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-java6</artifactId>
2 changes: 1 addition & 1 deletion google-oauth-client-jetty/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-jetty</artifactId>
2 changes: 1 addition & 1 deletion google-oauth-client-servlet/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client-servlet</artifactId>
3 changes: 1 addition & 2 deletions google-oauth-client/pom.xml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<parent>
<groupId>com.google.oauth-client</groupId>
<artifactId>google-oauth-client-parent</artifactId>
<version>1.33.2</version><!-- {x-version-update:google-oauth-client:current} -->
<version>1.33.3</version><!-- {x-version-update:google-oauth-client:current} -->
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>google-oauth-client</artifactId>
@@ -82,7 +82,6 @@
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client-gson</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright 2022, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
*
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package com.google.api.client.auth.openidconnect;

class Environment {
public String getVariable(String name) {
return System.getenv(name);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2022, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
*
* * Neither the name of Google Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package com.google.api.client.auth.openidconnect;

import com.google.api.client.http.HttpTransport;

/**
* A base interface for all {@link HttpTransport} factories.
*
* <p>Implementation must provide a public no-arg constructor. Loading of a factory implementation
* is done via {@link java.util.ServiceLoader}.
*/
public interface HttpTransportFactory {

/**
* Creates a {@code HttpTransport} instance.
*
* @return The HttpTransport instance.
*/
HttpTransport create();
}
Loading