2.0.0 • Published 6 years ago
passport-npm-basic v2.0.0
passport-npm-basic
A simple basic-auth
handler for passport-npm
.
Options
options
options.auth
- Object containinguser
andpassword
properties to compare for basic auth.options.lookup
- a function that accepts an object withname
andpassword
properties and a continuation function as parameters and should return an error or false as a result to the continuation function if the givenname
andpassword
are not valid, otherwise the result should be set explicitly to true