ADK for TypeScript: API Reference
    Preparing search index...

    Class OAuth2BearerExchanger

    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.

    Implements

    Constructors

    Methods