express-gateway-plugin-jwt-extractor

1.0.8 • Public • Published

express-gateway-plugin-jwt-extractor

This plugin is written to override the default JWT policy of Express gateway

Getting Started in 5 minutes:

$ npm -i -g express-gateway
$ eg gateway create
 
eg gateway create
# follow prompts 
? What\'s the name of your Express Gateway? demo
? Where would you like to install your Express Gateway? demo
? What type of Express Gateway do you want to create? Getting Started with Express Gateway
 
# cd to new directory 
cd ./demo
 
# install this plugin 
$ eg plugin install jwt-extractor
? Set value for baseUrl: http://example.com
? Set value for maxRequestsPerSecond: 234
? Would you like to enable this plugin in system config? Yes
? Would you like to add new policies to gateway config? Yes
Plugin installed!

Detailed documentation:

Express Gateway Overview

Express Gateway plugin explanation: Plugin Documentation

CLI for installing and configuring plugin: Plugins CLI

Guidlines how to write your custom plugin: Plugin Development Guide

Express Gateway Boot Sequence explains order in which plugin entities are loaded and executed.

Package Sidebar

Install

npm i express-gateway-plugin-jwt-extractor

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

18.5 kB

Total Files

8

Last publish

Collaborators

  • crohit92