憑證共用基礎知識
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
網頁和 Android 開發人員可實作憑證共用功能,藉此簡化
使用者登入體驗
透過順暢的憑證共用功能,您可以順暢使用 Google 密碼管理工具和
其他身分識別技術可安全地在不同網站之間共用憑證,
Android 應用程式。以 Google 密碼管理工具的形式輕鬆登入
在網站和應用程式中自動填入使用者憑證。
如要宣告您的 Android 應用程式和網站可以共用憑證,請按照下列步驟操作:
Google 驗證您宣告的憑證共用設定後,
向使用者建議已儲存的憑證,簡化帳戶管理工作
(註冊、登入、密碼變更和密碼重設)
平台。
進一步瞭解如何跨網站實作憑證共用機制
和應用程式:
藉由遵循網頁設計的最佳做法和流暢的憑證共用,您將
可確保流暢的使用者體驗
其他資源:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-01 (世界標準時間)。
[null,null,["上次更新時間:2024-08-01 (世界標準時間)。"],[[["\u003cp\u003eWeb and Android developers can simplify user sign-in by implementing credential sharing, allowing secure sharing of credentials across platforms.\u003c/p\u003e\n"],["\u003cp\u003eCredential sharing is enabled by hosting a Digital Asset Links JSON file on websites and declaring credential sharing capabilities in Android app manifests.\u003c/p\u003e\n"],["\u003cp\u003eGoogle verifies the configuration and then suggests saved credentials, streamlining account management tasks like sign-up, sign-in, and password changes across linked platforms.\u003c/p\u003e\n"]]],[],null,["# Credential sharing fundamentals\n\nWeb and Android developers can implement credential sharing to simplify the\nsign-in experience for their users.\n\nSeamless credential sharing allows [Google Password Manager](https://passwords.google/) and\nother identity technologies to securely share credentials across websites and\nAndroid apps. This simplifies the sign-in experience, as Google Password Manager\ncan automatically populate user credentials on your websites and apps.\n\nTo declare that your Android apps and websites can share credentials:\n\n- Host a [Digital Asset Links (DALs)](https://developers.google.com/digital-asset-links/v1/getting-started) JSON file on your websites declaring a credential sharing relationship.\n- Declare your Android app's ability to share credentials in your app's manifest.\n\nAfter Google verifies your declared credential sharing configuration, it\nsuggests saved credentials to users, streamlining account management tasks\n(sign-up, sign-in, password changes, and password resets) across all linked\nplatforms.\n\nLearn more about how to implement seamless credential sharing across sites\nand apps:\n\n- [Enable seamless credential sharing across Android apps and websites](/identity/credential-sharing/set-up)\n- Examples:\n - [Seamless credential sharing across multiple websites](/identity/credential-sharing/example-multiple-websites)\n - [Seamless credential sharing across multiple websites and Android apps](/identity/credential-sharing/example-multiple-websites-apps)\n\nBy following best practices for web design and seamless credential sharing, you\ncan ensure a seamless user experience.\n\nAdditional resources:\n\n- [Digital Asset Links](https://developers.google.com/digital-asset-links/)\n- [Android Credential Manager API](https://developers.google.com/identity/android-credential-manager)\n- [Sign-in with Google](https://developers.google.com/identity/gsi/web/guides/overview)\n- [Identity \\| web.dev](https://web.dev/explore/identity)"]]