From the course: Firebase Essential Training
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Create a sign-in wrapper function - Google Cloud Tutorial
From the course: Firebase Essential Training
Create a sign-in wrapper function
- [Instructor] Now that we know a little bit more about vendor lock-in and some of the steps we're going to be taking to avoid it. Let's create wrappers for the firebase auth functions that we need for application. We're going to do this for all the functions we talked about. Except the create user with email and password function. We actually won't be calling this function directly from our front end application. We'll be using it inside a cloud function later on in this course. So with the exception of the create user with email and password function, we're going to go in the same order that we introduced these functions earlier. So let's start off the sign in with email and password function. What we're going to do is inside the auth directory here, in our project, we're going to create a new file and call it signin.js and just as a side note, I generally like to separate my thinking in code by having a separate file…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
What is Firebase Auth?2m 41s
-
(Locked)
Set up the sign-in methods2m 58s
-
(Locked)
Important Firebase Auth functions4m 32s
-
(Locked)
Avoid vendor lock-in3m 24s
-
(Locked)
Create a sign-in wrapper function4m 57s
-
(Locked)
Create other auth wrapper functions4m 40s
-
(Locked)
Add private routes8m 49s
-
(Locked)
Sign in and sign out4m 48s
-
(Locked)
Authentication pricing1m 9s
-
-
-
-
-
-
-
-