凭据共享基础知识
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Web 和 Android 开发者可以实现凭据共享,以简化
为用户提供出色的登录体验
借助无缝的凭据共享功能,Google 密码管理工具和
安全地跨网站共享凭据,
Android 应用。这会简化登录体验,因为 Google 密码管理工具
可以自动填充您网站和应用中的用户凭据。
如需声明您的 Android 应用和网站可以共享凭据,请执行以下操作:
Google 验证您声明的凭据共享配置后,
向用户建议已保存的凭据,从而简化账号管理任务
(注册、登录、更改密码和重设密码)。
平台。
详细了解如何跨网站实现无缝凭据共享
和应用:
通过遵循网页设计和无缝凭据共享方面的最佳实践,您可以
以确保提供顺畅的用户体验。
其他资源:
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-01。
[null,null,["最后更新时间 (UTC):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)"]]