Socket
Socket
Sign inDemoInstall

firebase-auth

Package Overview
Dependencies
8
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    firebase-auth

A simple wrapper around firebase token authentication


Version published
Weekly downloads
1.4K
increased by16.31%
Maintainers
1
Install size
805 kB
Created
Weekly downloads
 

Readme

Source

firebase-auth

Simple wrapper around firebase token authentication

Installation

npm install firebase-auth --save

Usage

var firebaseAuth = require("firebase-auth");
var options = {
  rootRef: "rootRef",
  secretKey: process.env.FIREBASE_SECRET_KEY,
  UID: 'uid',
  admin: true || false //true or false
}

firebaseAuth(options).then(function(rootRef){
  //authenticated rootRef
}, function(error) {
  //handle error as you please
  throw error
})

Contributing

Fork and submit pull requests to improve this repo

Issues

Yes, there would be bugs or feature requests.

Please open an issue and I would try to reply as soon as possible

Release History

  • 0.1.0 Initial release

Keywords

FAQs

Last updated on 19 Mar 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc