UNPKG

http-auth

Version:

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

6 lines (5 loc) 212 B
# Exporting connect integration. module.exports = (authentication) -> (req, res, next) -> # Default schema for connect. authentication.check req, res, () -> # Authenticated! next() # Go forward.