Policies helper for Lad
npm:
npm install @ladjs/policies
const Policies = require('@ladjs/policies');
const appName = 'My App Name';
const policies = new Policies({ appName }, api_token => Users.findOne({ api_token }));
See index.js for options and defaults.
Name | Website |
---|---|
Nick Baugh | http://niftylettuce.com |
Spencer Snyder | http://spencersnyder.io/ |
Pablo Varela | http://pablo.life |
Shaun Warman | https://shaunwarman.com/ |
shadowgate15 | https://github.com/shadowgate15 |