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

    Class ToolContextCredentialStore

    Stores and retrieves exchanged credentials in the session state carried by a Context.

    Constructors

    Methods

    • Returns the state key that holds the credential exchanged for this scheme and credential pair.

      Both operands are hashed into the key, so two tools configured with different schemes, or with different credentials under one scheme, never share a slot.

      The key deliberately carries no temp: prefix. Session state is a copy and only the delta is persisted, and temp: is cleared at the end of a run, while an exchanged token has to stay readable across runs.

      Parameters

      Returns string