Implementation is thread-safe.
- *
- * @since 1.11
- * @author Yaniv Inbar
- */
-@Deprecated
-public class GooglePromptReceiver extends AbstractPromptReceiver {
-
- @Override
- public String getRedirectUri() throws IOException {
- return GoogleOAuthConstants.OOB_REDIRECT_URI;
- }
-}
diff --git a/google-api-client-java6/src/main/java/com/google/api/client/googleapis/extensions/java6/auth/oauth2/package-info.java b/google-api-client-java6/src/main/java/com/google/api/client/googleapis/extensions/java6/auth/oauth2/package-info.java
deleted file mode 100644
index a07b65a90..000000000
--- a/google-api-client-java6/src/main/java/com/google/api/client/googleapis/extensions/java6/auth/oauth2/package-info.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-
-/**
- * Google OAuth 2.0 utilities that help simplify the authorization flow on Java 6.
- *
- * @since 1.11
- * @author Yaniv Inbar
- */
-package com.google.api.client.googleapis.extensions.java6.auth.oauth2;
diff --git a/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleOAuthConstants.java b/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleOAuthConstants.java
index 2e4ea5733..809c96dda 100644
--- a/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleOAuthConstants.java
+++ b/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleOAuthConstants.java
@@ -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 Using OAuth 2.0 for
- * Mobile & Desktop Apps.
- *
- *
OAuth out-of-band (oob) flow has been deprecated. To migrate to an alternative flow, please
- * refer to Making Google
- * OAuth interactions safer by using more secure OAuth flows.
- */
- @Deprecated public static final String OOB_REDIRECT_URI = "urn:ietf:wg:oauth:2.0:oob";
-
private GoogleOAuthConstants() {}
}
diff --git a/pom.xml b/pom.xml
index 2df3abfa3..cd0292910 100644
--- a/pom.xml
+++ b/pom.xml
@@ -78,7 +78,6 @@
google-api-client-bomgoogle-api-client-gsongoogle-api-client-jackson2
- google-api-client-java6google-api-client-protobufgoogle-api-client-xml
@@ -178,11 +177,6 @@
google-api-client-android${project.version}