New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

firemaker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firemaker

Simplfies the email & Password and Email Link Authentication methods with a promise based approach

1.0.0
Source
npm
Version published
Weekly downloads
1
-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

Firemaker

This package is optimized for use in Vue.js environment
npm install firebase --save
npm install firemaker --save

To use it in your application, you need to initialize your app with firebase

Sign Up with email and password

import Firemaker from 'firemaker'

Firemaker('local').signUp('email', 'password')
    .then(() => { // Promise based
        // Do what you need to here
    });

// Remember that your app needs to be initialized with your console config and activated in Firebase console

Sign in with email and password

import Firemaker from 'firemaker'

Firemaker('local').signIn('email', 'password')
    .then(() => {
        // Do what you need to here
    })

This requires you to pass you actionCodeSettings as a third parameter, and also you can leave the second parameter as _

import Firemaker from 'firemaker'
const actionCodeSettings = {
        url: 'http://localhost:8080',
        handleCodeInApp: true
    };

Firemaker('emailLink').signUp('emailtosendto', _, actionCodeSettings);

Enjoy, this package may grow over time to include more method and options

Keywords

Rainmaker

FAQs

Package last updated on 08 Jul 2018

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