@@ -138,13 +138,6 @@ static UserCredentials fromJson(Map<String, Object> json, HttpTransportFactory t
138138 /**
139139 * Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.
140140 *
141- * <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
142- * external source for authentication to Google Cloud Platform, you must validate it before
143- * providing it to any Google API or library. Providing an unvalidated credential configuration to
144- * Google APIs can compromise the security of your systems and data. For more information, refer
145- * to {@link <a
146- * href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
147- *
148141 * @param credentialsStream the stream with the credential definition.
149142 * @return the credential defined by the credentialsStream.
150143 * @throws IOException if the credential cannot be created from the stream.
@@ -156,13 +149,6 @@ public static UserCredentials fromStream(InputStream credentialsStream) throws I
156149 /**
157150 * Returns credentials defined by a JSON file stream using the format supported by the Cloud SDK.
158151 *
159- * <p>Important: If you accept a credential configuration (credential JSON/File/Stream) from an
160- * external source for authentication to Google Cloud Platform, you must validate it before
161- * providing it to any Google API or library. Providing an unvalidated credential configuration to
162- * Google APIs can compromise the security of your systems and data. For more information, refer
163- * to {@link <a
164- * href="https://cloud.google.com/docs/authentication/external/externally-sourced-credentials">documentation</a>}.
165- *
166152 * @param credentialsStream the stream with the credential definition.
167153 * @param transportFactory HTTP transport factory, creates the transport used to get access
168154 * tokens.
0 commit comments