authmagic-timerange-stateless-express-middleware
v0.0.2
Published
Middleware for express framework which works with timerange-stateless core
Downloads
4
Maintainers
Readme
authmagic-timerange-stateless-express-middleware
authmagic middleware for express.js which works with timerange-stateless core.
How to install and add
npm i --save authmagic-timerange-stateless-express-middleware
const timerangeAuthMiddleware = require('authmagic-timerange-stateless-express-middleware');
...
const app = express();
app.use(cors());
// authmagicUrl - url to reach your authmagic server
app.use(timerangeAuthMiddleware({url: authmagicUrl}));
Licence
authmagic-timerange-stateless-core is MIT licensed.