jaredhanson / passport-http

HTTP Basic and Digest authentication strategies for Passport and Node.js.
https://www.passportjs.org/packages/passport-http/?utm_source=github&utm_medium=referral&utm_campaign=passport-http&utm_content=about
MIT License
268 stars 110 forks source link

Added passReqToCallback option to the BasicStrategy #8

Closed sameersegal closed 11 years ago

sameersegal commented 11 years ago

passReqToCallback pass the req object to the callback. Making this similar to other passport Strategies like http-bearer.

jaredhanson commented 11 years ago

Thanks!