Skip to content

Most visited

Recently visited

navigation

借助快捷安全的 Firebase 身份验证功能,为用户提供流畅的登录体验

借助 Firebase 身份验证功能,用户可通过他们熟悉和信任的系统来登录您的应用。然后,您的应用便可将用户的数据安全地保存在云端,并在用户的所有设备上提供相同的个性化体验。

这样做的好处

Firebase 身份验证功能通过提供后端服务、易于使用的 SDK 和现成的界面库,对登录您应用的用户进行身份验证,从而在不同平台和应用间提供更具吸引力的体验。Firebase 身份验证功能支持通过密码、热门的联合身份提供商(例如:Google、Facebook 和 Twitter 等)进行身份验证,让用户可以轻松访问您的内容并且快速、安全地登录到您的应用。

主要功能

  • 与其他 Firebase 功能紧密集成
  • Firebase 采用 OAuth 2.0 和 OpenID Connect 等行业标准,因此可以轻松地与您的自定义后端进行集成。
  • 提供两种开发选项:将 Firebase 界面作为完整的访客身份验证解决方案;或者,使用 Firebase Authentication SDK 手动将一种或多种登录方式集成到您的应用中。
  • 提供安全的身份验证机制,让用户使用自己用于 Gmail、Google Play、Google+ 和其他 Google 服务的 Google 帐号轻松登录您的应用。它还支持通过密码以及 Facebook 和 Twitter 等热门的联合身份提供商进行身份验证。
  • 跨设备提供安全无缝的应用体验和网站体验,而用户只需批准一次。这有利于促进用户互动,因为他们无论使用哪种设备都可以轻松享受一致的体验。
  • 将用户与 Google 服务安全关联。用户可享受与自己的 Google 联系人分享内容,将文件保存至 Google 云端硬盘以及向 Google 日历中添加活动等诸多便利。
  • 让用户可使用自己的 Google 电子钱包付款。为用户提供使用自己的 Google 电子钱包进行付款的功能,从而简化应用内购买流程。

使用入门

Firebase 身份验证
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

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.