Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

docs: add documentation for Builder class in IdTokenCredentials - #1840

Closed
diegomarquezp wants to merge 2 commits into
mainfrom
diegomarquezp-patch-1
Closed

docs: add documentation for Builder class in IdTokenCredentials#1840
diegomarquezp wants to merge 2 commits into
mainfrom
diegomarquezp-patch-1

Conversation

@diegomarquezp

@diegomarquezp diegomarquezp commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

b/414071824

@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label Nov 6, 2025
@diegomarquezp
diegomarquezp marked this pull request as ready for review November 6, 2025 18:32
@diegomarquezp
diegomarquezp requested review from a team November 6, 2025 18:32
@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2025

Copy link
Copy Markdown

@diegomarquezp
diegomarquezp requested a review from lqiu96 November 9, 2025 03:37
return new Builder();
}

/** Builder of IdTokenCredentials. For usage and examples, see {@link IdTokenCredentials} */

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey sorry, I just noticed this PR. I don't think this change actually address the feedback from the ticket.

We should add javadocs for:

  1. setIdTokenProvider - This cannot be set to null
  2. setTargetAudience - should not be set for userCredentials as targetAudience cannot be set for UserCredentials. For other credentials, this cannot be null.

Additionally, it looks like setOptions can be null, though I think we probably should check for nullness here as well

@lqiu96

lqiu96 commented Mar 26, 2026

Copy link
Copy Markdown
Member

closing in favor of #1909

@lqiu96 lqiu96 closed this Mar 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants