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

    Interface ToolAuthHandlerOptions

    Collaborators a caller may substitute when building a ToolAuthHandler.

    interface ToolAuthHandlerOptions {
        credentialExchanger?: BaseCredentialExchanger;
        credentialKey?: string;
        credentialStore?: ToolContextCredentialStore;
    }

    Properties

    credentialExchanger?: BaseCredentialExchanger

    Exchanger to use instead of the default AutoAuthCredentialExchanger.

    credentialKey?: string

    Key under which a credential service loads and saves this credential.

    credentialStore?: ToolContextCredentialStore

    Store to use instead of one built over the tool's own context.