Skip to content

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

Closed
lqiu96 wants to merge 1 commit into
mainfrom
docs/auth-2d-document-id-tokens-and-verifier
Closed

lqiu96 wants to merge 1 commit into
mainfrom
docs/auth-2d-document-id-tokens-and-verifier

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 4, 2026

Copy link
Copy Markdown
Owner

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.

@lqiu96

lqiu96 commented Dec 4, 2026

Copy link
Copy Markdown
Owner Author

Moved to upstream PR googleapis#15442.

@lqiu96 lqiu96 closed this Dec 4, 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