Skip to content

Most visited

Recently visited

navigation

透過密碼專用 Smart Lock 儲存及擷取登入憑證

密碼專用 Smart Lock 可讓您在使用 Android 應用程式及透過 Chrome 瀏覽網站時,使用任何帳戶輕鬆登入。 使用者可以在任何裝置上透過已儲存的憑證自動登入您的應用程式。

為何有效

整合密碼專用 Smart Lock 後, 就可以避免使用者因為無法登入而轉移到其他活動的情況,進而減少了錯失轉換機會的情況。 只要使用者將密碼儲存到 Smart Lock, 日後使用自己的任何 Chrome 和 Android 裝置時,就無需再次輸入憑證。

主要功能

  • Firebase 驗證互為補充。 Smart Lock 讓使用者在任何裝置使用任何帳戶都享有自動登入體驗。
  • 為您的網站和應用程式現有的登入機制提供輔助,而非取代原有的登入機制。 Smart Lock 只是將使用者名稱和密碼傳送給應用程式, 因此您無需變更任何現有的後端身分識別管理機制和使用者識別方式。
  • 使用者可以儲存包含使用者名稱和密碼的憑證,也可以儲存聯合識別資訊提供者憑證。

範例

踏出第一步

密碼專用 Smart Lock
This site uses cookies to store your preferences for site-specific language and display options.

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.