@lukasa1993/scope-check

3.0.0 • Public • Published

scope-check

scope chek for expressjs

Usage:

  1. app.use('/admin', scopeCheck({scopes:['admin','user'], status:401,header:'x-scope'}), external);
  2. app.use('/admin', scopeCheck({scope:'admin', status:401,header:'x-scope'}), external);

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @lukasa1993/scope-check

      Weekly Downloads

      1

      Version

      3.0.0

      License

      ISC

      Unpacked Size

      4.94 kB

      Total Files

      5

      Last publish

      Collaborators

      • lukasa1993