Skip to content

Commit c04265d

Browse files
Update oauth2_http/java/com/google/auth/oauth2/GoogleCredentials.java
Co-authored-by: Lawrence Qiu <[email protected]>
1 parent 1edfa78 commit c04265d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2_http/java/com/google/auth/oauth2/GoogleCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public static GoogleCredentials getApplicationDefault(HttpTransportFactory trans
206206
* used without validation on your side.
207207
*
208208
* <p>If you know that you will be loading credential configurations of a specific type, it is
209-
* recommended to use a credential-type-specific `load()` method. This will ensure that an
209+
* recommended to use a credential-type-specific `fromStream()` method. This will ensure that an
210210
* unexpected credential type with potential for malicious intent is not loaded unintentionally.
211211
* You might still have to do validation for certain credential types. Please follow the
212212
* recommendation for that method. For example, if you want to load only service accounts, you can

0 commit comments

Comments
 (0)