اصول اشتراک اعتبار
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
توسعه دهندگان وب و اندروید می توانند اشتراک گذاری اعتبار را برای ساده کردن تجربه ورود به سیستم برای کاربران خود پیاده کنند.
اشتراکگذاری بیوقفه اعتبارنامه به مدیر گذرواژه Google و سایر فناوریهای هویتی اجازه میدهد تا به طور ایمن اعتبارنامهها را در بین وبسایتها و برنامههای Android به اشتراک بگذارند. این تجربه ورود به سیستم را ساده میکند، زیرا Google Password Manager میتواند به طور خودکار اطلاعات کاربری کاربر را در وبسایتها و برنامههای شما پر کند.
برای اعلام اینکه برنامهها و وبسایتهای Android شما میتوانند اعتبارنامهها را به اشتراک بگذارند:
- یک فایل JSON پیوندهای دارایی دیجیتال (DAL) را در وب سایت های خود میزبانی کنید که یک رابطه اشتراک گذاری اعتبار را اعلام می کند.
- توانایی برنامه Android خود را برای به اشتراک گذاشتن اعتبارنامه در مانیفست برنامه خود اعلام کنید.
پس از اینکه Google پیکربندی اشتراکگذاری اعتبار اعلامشده شما را تأیید کرد، اعتبارنامههای ذخیرهشده را به کاربران پیشنهاد میکند، وظایف مدیریت حساب (ثبتنام، ورود به سیستم، تغییر رمز عبور و بازنشانی رمز عبور) را در همه پلتفرمهای مرتبط سادهسازی میکند.
درباره نحوه اجرای اشتراکگذاری بیوقفه اعتبارنامه در بین سایتها و برنامهها بیشتر بیاموزید:
با پیروی از بهترین روشها برای طراحی وب و اشتراکگذاری بیوقفه اعتبار، میتوانید تجربه کاربری یکپارچه را تضمین کنید.
منابع اضافی:
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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)"]]