0.0.4 • Published 9 years ago
firebase-login-email v0.0.4
firebase-login-email
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
- Fork it
- Create your feature branch (
git flow feature start my-new-feature
) - Commit your changes (
git commit -am 'Add code'
) - Finish your implementation (
git flow feature finish my-new-feature
) - Push to origin (
git push origin
) - 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
- A special thanks to the developers of NodeJS and Firebase.