ปัจจัยพื้นฐานด้านการแชร์ข้อมูลเข้าสู่ระบบ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
นักพัฒนาเว็บและ Android สามารถใช้การแชร์ข้อมูลเข้าสู่ระบบเพื่อลดความซับซ้อนของ
การลงชื่อเข้าใช้สำหรับผู้ใช้
การแชร์ข้อมูลเข้าสู่ระบบที่ราบรื่นช่วยให้เครื่องมือจัดการรหัสผ่านบน Google และ
เทคโนโลยีข้อมูลประจำตัวอื่นๆ เพื่อแชร์ข้อมูลเข้าสู่ระบบอย่างปลอดภัยในเว็บไซต์ต่างๆ และ
แอป Android เครื่องมือจัดการรหัสผ่านบน Google จะช่วยให้การลงชื่อเข้าใช้ง่ายขึ้น
ป้อนข้อมูลเข้าสู่ระบบของผู้ใช้ในเว็บไซต์และแอปของคุณได้โดยอัตโนมัติ
วิธีประกาศว่าแอปและเว็บไซต์ Android ของคุณแชร์ข้อมูลเข้าสู่ระบบได้มีดังนี้
- โฮสต์ไฟล์ JSON สำหรับลิงก์เนื้อหาดิจิทัล (DAL) ในเว็บไซต์ที่ประกาศ
ความสัมพันธ์ในการแชร์ข้อมูลเข้าสู่ระบบ
- ประกาศความสามารถในการแชร์ข้อมูลเข้าสู่ระบบของแอป Android
ไฟล์ Manifest
หลังจากที่ Google ยืนยันการกำหนดค่าการแชร์ข้อมูลเข้าสู่ระบบที่คุณประกาศแล้ว
แนะนำข้อมูลเข้าสู่ระบบที่บันทึกไว้ให้กับผู้ใช้ ทำให้งานจัดการบัญชีมีประสิทธิภาพมากขึ้น
(การลงชื่อสมัครใช้ การลงชื่อเข้าใช้ การเปลี่ยนรหัสผ่าน และการรีเซ็ตรหัสผ่าน) ในทุกส่วนที่ลิงก์
ใหม่
ดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีใช้การแชร์ข้อมูลเข้าสู่ระบบที่ราบรื่นในเว็บไซต์ต่างๆ
และแอป
การปฏิบัติตามแนวทางปฏิบัติแนะนำสำหรับการออกแบบเว็บและการแชร์ข้อมูลเข้าสู่ระบบที่ราบรื่น
สามารถช่วยให้ผู้ใช้ได้รับประสบการณ์การใช้งานที่ราบรื่น
แหล่งข้อมูลเพิ่มเติม:
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-01 UTC
[null,null,["อัปเดตล่าสุด 2024-08-01 UTC"],[[["\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)"]]