跳到正文
Google Developers Blog(developers.googleblog.com)·· 2 天前精選品質評分75

Google 說明如何在 Gemini Enterprise 自訂介面處理使用者與工具授權

How to handle user, connector, and agent auth in Gemini Enterprise with a custom UI

重點導讀

企業把 Gemini Enterprise 放進自家入口網站時,原本內建介面會處理的登入和資料授權,就得由自訂介面接手。

  • Google Developers Blog 整理了三部分做法:呼叫 StreamAssist API 時,依需求使用 Google Identity、Workforce Identity Federation 或 Workload Identity Federation。
  • 讓使用者替 Google Drive、SharePoint 等連接器完成 OAuth 授權。
  • 以及讓自訂 ADK AI 助理在真正呼叫受保護的工具時才要求授權。若要依員工身分限制檔案和工具許可權,應使用代表個人的登入方式。
  • 共用機器人則可使用 Workload Identity Federation。文中也附上可執行的程式範例,展示授權後如何把憑證存入 Google 管理的 Keystore 或 Token Vault。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

推薦理由

自建介面會接手處理登入、連接器授權與 AI 助理工具授權,本文比較三種登入方式並說明如何依個人許可權需求選用。

信源出處developers.googleblog.com

How to handle user, connector, and agent auth in Gemini Enterprise with a custom UI

本文為 888news 精選之重點導讀。若需閱讀作者完整原文、技術細節與官方討論,請前往原始網站。

開啟原文
來源: Google Developers Blog (developers.googleblog.com)
開啟原文

讀者討論

理性交流 · 即時討論