UNPKG

http-auth

Version:

Node.js package for HTTP basic and digest access authentication.

27 lines (22 loc) 664 B
// Generated by CoffeeScript 1.8.0 (function() { require('./server/http'); require('./server/https'); if (require('./auth/utils').isAvailable('http-proxy')) { require('./server/proxy'); } module.exports = { basic: function(options, checker) { return require('./auth/basic')(options, checker); }, digest: function(options, checker) { return require('./auth/digest')(options, checker); }, connect: function(authentication) { return require('./server/connect')(authentication); }, passport: function(authentication) { return require('./server/passport')(authentication); } }; }).call(this);