appdevdesigns / passport-cas

CAS strategy for Passport.js authentication
MIT License
22 stars 13 forks source link

Add passReqToCallback option like other strategies #2

Closed rxsands closed 9 years ago

rxsands commented 9 years ago

Add passReqToCallback option to CasStrategy as documented in Passport (see http://passportjs.org/docs#association-in-verify-callback). Many other strategies already implement this option to allow passing the req to the verify callback. This was used as an example: https://github.com/jaredhanson/passport-local/blob/master/lib/strategy.js.