0.0.1 • Published 10 years ago
passwordless-bookshelfstore v0.0.1
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 niklas@narhinen.net
License
The MIT license
0.0.1
10 years ago