passwordless-bookshelfstore
v0.0.1
Published
Passwordless.js tokenstore using bookshelf.js
Downloads
1
Readme
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
timestamporigin
string
Initialize store:
var BookshelfStore = require('passwordless-bookshelfstore');
passwordless.init(new BookshelfStore(MyTokenModel));
Author
Niklas Närhinen [email protected]
License
The MIT license