blanja-middleware-token

BLANJA 2.0 middleware for manage oAuth token

Usage no npm install needed!

<script type="module">
  import blanjaMiddlewareToken from 'https://cdn.skypack.dev/blanja-middleware-token';
</script>

README

BLANJA 2.0 Token Management Middleware

Instalation

npm install blanja-middleware-token --save-dev

Using this middleware

it's very easy to use this module, just import it on your express server

import blanjaMiddlewareToken from 'blanja-middleware-token';

don't forget to use the module on your express config

import express from 'express';

const app = express();

app.use(middleware.config);
app.use(blanjaMiddlewareToken);

Notes: blanjaMiddlewareToken should be declare after middleware.config