Skip to content

docs(auth): add missing class Javadocs, update fromStream type lists, and fix typos - #88

Closed
lqiu96 wants to merge 1 commit into
mainfrom
docs/auth-0e-add-class-javadocs-and-fix-typos
Closed

lqiu96 wants to merge 1 commit into
mainfrom
docs/auth-0e-add-class-javadocs-and-fix-typos

Conversation

@lqiu96

@lqiu96 lqiu96 commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Adds missing class Javadocs, updates incomplete fromStream() type lists, and fixes copy-paste errors and typos across 12 files in google-auth-library-java (Wave 1 AUTH-0e):

  • Adds class-level Javadocs to 4 previously undocumented public types: Retryable (converting its // line comment), GdchCredentials, PKCEProvider, and DefaultMtlsProviderFactory.
  • Updates GoogleCredentials.fromStream() Javadocs to list all 6 supported JSON credential types (service_account, authorized_user, external_account, external_account_authorized_user, impersonated_service_account, gdch_service_account), aligns GoogleCredentials.getApplicationDefault(HttpTransportFactory) with the 0-arg overload to include --impersonate-service-account, and adds PluggableAuthCredentials to ExternalAccountCredentials.fromStream() Javadocs.
  • Fixes copy-paste errors and typos: AuthHttpConstants.AUTHORIZATION ("Authentication" -> "Authorization"), ApiKeyCredentials.refresh ("an API tokens" -> "an API key"), GdchCredentials.fromStream (removes "from the Google Developers Console"), ExternalAccountCredentials ("gCloud" -> "gcloud"), OAuth2Credentials.CredentialsChangedListener.onChanged ("My" -> "May"), UserAuthorizer.getClientId ("user" -> "used"), DefaultCredentialsProvider ("runnning" -> "running"), and GoogleAuthException (fixes two self-referencing @see tags and "reties" -> "retries").

Zero behavioral changes.

Verified with google-java-format, mvn -f google-auth-library-java/pom.xml -Dlint checkstyle:check@checkstyle test-compile test javadoc:javadoc (0 checkstyle violations, 1,392 unit tests passed across all 6 reactor modules), and javadoc -Xdoclint:html,syntax,reference on all 12 modified files (0 errors, 0 warnings).

@lqiu96
lqiu96 force-pushed the docs/auth-0e-add-class-javadocs-and-fix-typos branch from 2f3ae3d to 02392d2 Compare November 23, 2026 05:35
@lqiu96
lqiu96 force-pushed the docs/auth-0e-add-class-javadocs-and-fix-typos branch from 02392d2 to 58f9a72 Compare December 1, 2026 05:37
… and fix typos

- Add missing class Javadocs on Retryable, GdchCredentials, PKCEProvider, and DefaultMtlsProviderFactory.
- Update GoogleCredentials.fromStream, GoogleCredentials.getApplicationDefault, and ExternalAccountCredentials.fromStream Javadocs.
- Fix copy-paste inaccuracies and typos across google-auth-library-java.
@lqiu96
lqiu96 force-pushed the docs/auth-0e-add-class-javadocs-and-fix-typos branch from 58f9a72 to 61aae20 Compare December 1, 2026 05:38
@lqiu96

lqiu96 commented Dec 1, 2026

Copy link
Copy Markdown
Owner Author

Superseded by upstream PR googleapis#15314.

@lqiu96 lqiu96 closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant