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: remove deprecated OOB flow #2242

Merged
merged 3 commits into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions docs/component-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ Jackson2 extensions to the Google API Client Library for Java
(`google-api-client-jackson2`). This module depends on `google-api-client` and
`google-http-client-jackson2`.

## google-api-client-java6

Java 6 (and higher) extensions to the Google API Client Library for Java
(`google-api-client-java6`). This module depends on `google-api-client` and
`google-oauth-client-java6`.

## google-api-client-protobuf

[Protocol buffer][protobuf] extensions to the Google API Client Library for Java
Expand Down
1 change: 0 additions & 1 deletion google-api-client-assembly/classpath-include
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<classpathentry kind="lib" path="libs/google-api-client-appengine-${project.version}.jar" sourcepath="libs-sources/google-api-client-appengine-${project.version}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-gson-${project.version}.jar" sourcepath="libs-sources/google-api-client-gson-${project.version}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-jackson2-${project.version}.jar" sourcepath="libs-sources/google-api-client-jackson2-${project.version}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-java6-${project.version}.jar" sourcepath="libs-sources/google-api-client-java6-${project.version}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-protobuf-${project.version}.jar" sourcepath="libs-sources/google-api-client-protobuf-${project.version}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-servlet-${project.version}.jar" sourcepath="libs-sources/google-api-client-servlet-${project.version}-sources.jar"/>
<classpathentry kind="lib" path="libs/google-api-client-xml-${project.version}.jar" sourcepath="libs-sources/google-api-client-xml-${project.version}-sources.jar"/>
Expand Down
4 changes: 0 additions & 4 deletions google-api-client-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-jackson2</artifactId>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-java6</artifactId>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-protobuf</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions google-api-client-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@
<artifactId>google-api-client-jackson2</artifactId>
<version>2.1.5-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-java6</artifactId>
<version>2.1.5-SNAPSHOT</version><!-- {x-version-update:google-api-client:current} -->
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-protobuf</artifactId>
Expand Down
96 changes: 0 additions & 96 deletions google-api-client-java6/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,5 @@ public class GoogleOAuthConstants {
public static final String DEFAULT_PUBLIC_CERTS_ENCODED_URL =
"https://www.googleapis.com/oauth2/v1/certs";

/**
* Redirect URI to use for an installed application as specified in <a
* href="https://developers.google.com/identity/protocols/OAuth2InstalledApp">Using OAuth 2.0 for
* Mobile & Desktop Apps</a>.
*
* <p>OAuth out-of-band (oob) flow has been deprecated. To migrate to an alternative flow, please
* refer to <a
* href="https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html">Making Google
* OAuth interactions safer by using more secure OAuth flows</a>.
*/
@Deprecated public static final String OOB_REDIRECT_URI = "urn:ietf:wg:oauth:2.0:oob";

private GoogleOAuthConstants() {}
}
10 changes: 0 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
<module>google-api-client-bom</module>
<module>google-api-client-gson</module>
<module>google-api-client-jackson2</module>
<module>google-api-client-java6</module>
<module>google-api-client-protobuf</module>
<module>google-api-client-xml</module>
</modules>
Expand Down Expand Up @@ -178,11 +177,6 @@
<artifactId>google-api-client-android</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-java6</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-gson</artifactId>
Expand Down Expand Up @@ -410,10 +404,6 @@
<title>google-api-client-jackson2</title>
<packages>com.google.api.client.googleapis.notifications.json.jackson2.*</packages>
</group>
<group>
<title>google-api-client-java6</title>
<packages>com.google.api.client.googleapis.extensions.java6.*</packages>
</group>
<group>
<title>google-api-client-protobuf</title>
<packages>com.google.api.client.googleapis.services.protobuf*:com.google.api.client.googleapis.testing.services.protobuf*</packages>
Expand Down