You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename getBearerToken callback to bearerTokenProvider; fix precedence docs and CodeQL findings
Address post-merge review feedback from #1748 across all 6 SDKs:
- Rename the BYOK token callback field getBearerToken/get_bearer_token/
GetBearerToken to bearerTokenProvider/bearer_token_provider/
BearerTokenProvider, and the callback type to BearerTokenProvider. The
Provider suffix distinguishes the dynamic token source from the static
bearerToken credential and aligns with the existing Rust trait and the
SDK's *Provider value-producer precedent. In Java this also drops the
double-get accessor (getGetBearerToken -> getBearerTokenProvider).
- Fix docs that incorrectly described the callback and static apiKey/
bearerToken as mutually exclusive; the runtime applies precedence (the
callback wins and the static credential is not sent).
- Resolve 4 CodeQL findings: empty except in python; LINQ .Where filter,
specific catch type, and HttpResponseMessage disposal in dotnet.
Java was not build-verified locally (requires JDK 25); CI validates it.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments