Skip to content

randomprogramming/passwordless-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A wrapper for the unpass.me API to be used on a server. You will need to register for a Private Key.

Installing

NPM

npm install passwordless-node

Yarn

yarn add passwordless-node

Usage

Import Library

import { loginComplete } from "passwordless-node";

Pass in data

const isLoginComplete = await loginComplete(loginData, your_private_key);

Pass in the loginData object that you recieved from the frontend library into the loginComplete function, along with your private key. The function will either return true and you can authenticate the user, or it will throw an error with a message.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published