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

    Interface ToolAuthHandlerOptions

    在构建(某个系统或流程)时,呼叫者可以替换这些“协作者”(Collaborators)。 ToolAuthHandler.

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

    用于替代默认值的交换器(Exchangeer)。 AutoAuthCredentialExchanger.

    credentialKey?: string

    用于凭证服务加载和保存该凭证的键。

    credentialStore?: ToolContextCredentialStore

    可以用来替代工具自动生成的存储方案的存储方案。