0.0.4 • Published 9 years ago

firebase-login-email v0.0.4

Weekly downloads
22
License
MIT
Repository
github
Last release
9 years ago

firebase-login-email

Dependency Status Build Status npm version Issues

Authenticating Users with Email & Password

Firebase makes it easy to integrate email and password authentication into your app. Firebase automatically stores your users' credentials securely (using bcrypt) and redundantly (daily off-site backups).

This separates sensitive user credentials from your application data, and lets you focus on the user interface and experience for your app. Allows your node applications to authenticate a Firebase reference using Firebase Simple Login with email and password.

Installation

Install via npm:

    npm install firebase firebase-login-email

Example

    var ref = new Firebase('https://<Your Firebase>.firebaseio.com');

    FirebaseLoginEmail(ref, {
            email: "<Your Email>",
            password: "<Your Password>"
        },
        function (error, data) {
            console.log(data.token);
        }
    );

Support

Please report issues to ticket system. Pull requests are welcome here!

Contributing

  1. Fork it
  2. Create your feature branch (git flow feature start my-new-feature)
  3. Commit your changes (git commit -am 'Add code')
  4. Finish your implementation (git flow feature finish my-new-feature)
  5. Push to origin (git push origin)
  6. Create new Pull Request

Install locally

$ cd /path/to/firebase-login-email/
$ npm install
$ export FIREBASE_ID=<YOUR_TEST_ID>
$ export FIREBASE_EMAIL=<test@email.com>
$ export FIREBASE_PASSWORD=<1234567>
$ node tests/integration/firebase-login-email-integration.js

Thanks to

  1. A special thanks to the developers of NodeJS and Firebase.