3.0.0 • Published 4 years ago
@lukasa1993/scope-check v3.0.0
scope-check
scope chek for expressjs
Usage:
app.use('/admin', scopeCheck({scopes:['admin','user'], status:401,header:'x-scope'}), external);
app.use('/admin', scopeCheck({scope:'admin', status:401,header:'x-scope'}), external);