Mastering Firebase for Android Development
上QQ阅读APP看书,第一时间看更新

Firebase Authentication

Firebase helps you develop superb applications, grow your user base, and earn more money. As I mentioned in Chapter 1Keep it Real - Firebase Realtime Database, each feature works autonomously, and they work far better together.

Assorted applications and web services need to have some type of authentication framework while keeping in mind the end goal of recognizing users. Use cases include  controlling access to premium data and to preserve user information. Without some approach to distinguishing one user from another, it would be impossible for the application to know which information and settings have a place with which user.

Despite the inspiration for adding user authentication to an application, developers usually find that implementing authentication is substantially more intricate than it appears. Not exclusively should verification be performed safely and dependable; it should likewise be taken into consideration for users to change their account settings, offer help for forgotten passwords, and incorporate with a of third-party authentication APIs. Databases must be implemented and put away safely, and a general console provided for managing CRUD operations.

In Chapter 1Keep it Real – Firebase Realtime Database, we integrated the Firebase SDK; now, all we need to do to set up  Firebase Authentication is just add the Gradle dependency, if you are continuing from the last chapter. Every feature works autonomously, and we can create a new project and get started with exploring Firebase Authentication.