Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Data Oriented Development with Angularjs

You're reading from   Data Oriented Development with Angularjs

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784398057
Length 156 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Manoj Waikar Manoj Waikar
Author Profile Icon Manoj Waikar
Manoj Waikar
Arrow right icon
View More author details
Toc

Firebase anonymous authentication

Anonymous authentication is the simplest form of authentication that Firebase supports. It generates a unique identifier for each user as long as their session lasts. The advantage of this approach is that the users don't have to share their personal information. We are going to use this technique in our next example application. We'll use the same problem domain that we discussed in Chapter 4, Firebase, and improve our code which we wrote in Chapter 5, Getting Started with AngularFire, because the earlier example didn't create any directives. We'll be using the recently released AngularFire 1.0.0 library.

The index.html page (as usual) refers to various JS libraries, and the following is the only interesting piece of code:

<div class="container">
    <div ng-include="'menu/menu.tpl.html'"></div>

    <div ng-view=""></div>

    <div class="footer">...
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 $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon