Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firebase-auth

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebase-auth

A simple wrapper around firebase token authentication

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-60.54%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 19 Mar 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc