koa-pep-validator
v0.1.0
Published
middleware that validates the access token in the request
Readme
koa-pep-validator
A Node.js package that exposes a koa middleware that authenticates the request token using the pep library
Usage
First, install the package using npm:
npm install koa-pep-validator --saveThen, require the package and use it like so:
const requestValidator = require('koa-pep-validator');
const app = new Koa();
app.use(requestValidator());License
MIT
