Converts OAuth2 and OpenID Connect credentials into HTTP bearer credentials.
Ports OAuth2CredentialExchanger from adk-python
src/google/adk/tools/openapi_tool/auth/credential_exchangers/oauth2_exchanger.py
at tag v0.1.0. The adk-js class carries a different name because
OAuth2CredentialExchanger in core/src/auth/oauth2/ already owns that one,
and it solves a different problem: it fetches tokens from the token endpoint,
where this class converts a token it is given.
Converts OAuth2 and OpenID Connect credentials into HTTP bearer credentials.
Ports
OAuth2CredentialExchangerfrom adk-pythonsrc/google/adk/tools/openapi_tool/auth/credential_exchangers/oauth2_exchanger.pyat tagv0.1.0. The adk-js class carries a different name becauseOAuth2CredentialExchangerincore/src/auth/oauth2/already owns that one, and it solves a different problem: it fetches tokens from the token endpoint, where this class converts a token it is given.