MCPcopy Create free account
hub / github.com/LionC/express-basic-auth / authorizerCallback

Function authorizerCallback

index.js:86–93  ·  view source on GitHub ↗
(err, approved)

Source from the content-addressed store, hash-verified

84 }
85
86 function authorizerCallback(err, approved) {
87 assert.ifError(err)
88
89 if(approved)
90 return next()
91
92 return unauthorized()
93 }
94 }
95}
96

Callers

nothing calls this directly

Calls 1

unauthorizedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…