Skip to content

docs(auth): clarify ID token and TokenVerifier Javadocs - #15442

Draft
lqiu96 wants to merge 3 commits into
googleapis:mainfrom
lqiu96:docs/auth-2d-document-id-tokens-and-verifier
Draft

lqiu96 wants to merge 3 commits into
googleapis:mainfrom
lqiu96:docs/auth-2d-document-id-tokens-and-verifier

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 4, 2026

Copy link
Copy Markdown
Member

Clarifies Javadocs across IdTokenCredentials, IdTokenProvider, IdToken, UserCredentials.idTokenWithAudience, and TokenVerifier:

  • Documents UserCredentials ignoring targetAudience and options, with the ImpersonatedCredentials path for local development and external account credentials.
  • Documents lazy token fetching on IdTokenCredentials#getIdToken() and builder preconditions.
  • Documents per-provider IdTokenProvider.Option support and fixes typos in IdTokenProvider.
  • Clarifies that IdToken.create parses without signature or claim verification.
  • Documents TokenVerifier opt-in audience and issuer checks, default RS256/ES256 key endpoints, 1-hour key caching, and setPublicKey precedence.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

This branch has not been deployed

No deployments
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