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