1.1.0 • Published 5 years ago

simple-auth-jwt v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

AUTH

It's a simple method to validate a JWT

Install

npm install --save simple-auth-jwt

or

yarn add simple-auth-jwt

Usage

'use strict';
const express = require('express');
const api = express.Router();
const isAuth = require('simple-auth-jwt');

Setup

api.get('/path/to/request', isAuth, controller);
module.exports = api;

Créditos

Licencia

MIT

1.1.0

5 years ago