File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2 Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -222,9 +222,7 @@ public static GoogleCredential getApplicationDefault(
222222 * @param credentialStream the stream with the credential definition.
223223 * @return the credential defined by the credentialStream.
224224 * @throws IOException if the credential cannot be created from the stream.
225- * @deprecated Please use <a href="https://github.com/googleapis/google-auth-library-java">
226- * google-auth-library</a> for handling Application Default Credentials and other non-OAuth2
227- * based authentication.
225+ * @deprecated This method is being deprecated because of a potential security risk.
228226 */
229227 @ Beta
230228 @ Deprecated
@@ -259,9 +257,7 @@ public static GoogleCredential fromStream(InputStream credentialStream) throws I
259257 * @param credentialStream the stream with the credential definition.
260258 * @return the credential defined by the credentialStream.
261259 * @throws IOException if the credential cannot be created from the stream.
262- * @deprecated Please use <a href="https://github.com/googleapis/google-auth-library-java">
263- * google-auth-library</a> for handling Application Default Credentials and other non-OAuth2
264- * based authentication.
260+ * @deprecated This method is being deprecated because of a potential security risk.
265261 */
266262 @ Beta
267263 @ Deprecated
You can’t perform that action at this time.
0 commit comments