Skip to content

nnarhinen/passwordless-bookshelfstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

passwordless-bookshelfstore

A Passwordless TokenStore impleentation using Bookshelf.js

Installation

npm install passwordless-bookshelfstore

Usage

Create a Bookshelf Model with following properties:

  • token string (unique)
  • uid string (unique)
  • ttl timestamp
  • origin string

Initialize store:

var BookshelfStore = require('passwordless-bookshelfstore');
passwordless.init(new BookshelfStore(MyTokenModel));

Author

Niklas Närhinen niklas@narhinen.net

License

The MIT license

About

Passwordless token store using bookshelf.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published