Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Data Oriented Development with Angularjs

You're reading from  Data Oriented Development with Angularjs

Product type Book
Published in Apr 2015
Publisher
ISBN-13 9781784398057
Pages 156 pages
Edition 1st Edition
Languages

Authentication


No application can be built without including some kind of authentication/authorization mechanism, and Firebase applications are no exception. Hence, Firebase provides us with many options for authenticating users as follows:

  • Custom: This is for complete control over authentication. This requires server-side code and by using it we can generate our own login tokens.

  • E-mail and password: We can register and authenticate users using e-mail and password.

  • Anonymous: For small one-off tasks, we can use anonymous authentication where users are not required to register with us. A unique identifier is generated for each user that lasts as long as their session.

  • OAuth providers for Facebook, Twitter, Google, and GitHub: We can authenticate users using any of these OAuth providers.

We have to configure each provider individually and enable it in the Firebase dashboard before any of the clients can use it. Please check AngularFire Development Guide (https://www.firebase.com/docs/web/libraries...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}