From the course: Google Firebase for Android: First Look

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Overview of Firebase Authentication

Overview of Firebase Authentication

From the course: Google Firebase for Android: First Look

Start my 1-month free trial

Overview of Firebase Authentication

- [Voiceover] One of the most common tasks that almost any app must perform is identifying and authenticating the user. Firebase contains a complete set of user authentication solutions that you can use right out of the box. It provides support for signing into your app with Google, Facebook, Twitter, GitHub, and even plain old email and password. You can also use standard OAuth and OpenID Connect to implement your own custom authentication solutions. In this chapter, we're going to use Firebase Authentication to let the user sign up for our sample app and then sign into the app once they've created an account. To keep things simple, we're just going to use email and password authentication. We'll start off by enabling the email and password API in the Firebase console. Then we'll get an instance of the Firebase auth object and add an AuthStateListener to detect changes in the authentication state. Next, we'll add code for creating a user, validating a user's credentials and signing…

Contents