Package Exports
- connect-auth
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (connect-auth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
connect-auth
Useful authentication strategies based on warden. Available as a npm package.
Provides out of the box authentication stratgies for:
- HTTP Basic - sole or negotiated
- HTTP Digest - sole or negotiated
- Facebook connect (OAuth 2)
- Github (OAuth 2)
- Yahoo (OAuth 1.0A)
- Twitter (OAuth 1.0)
- RPXNow / janrain SSO
- Anonymous
- Never
Please note this has only just been ported over from express, and whilst it does in fact now work again, I've not yet fully ported the tests or example applications so your mileage may vary :)
Take Care!
-cj.
Testing
% makeRunning with npm
% npm install connect-auth
% node examples/connect-testing.jsEdit /etc/hosts to include the following entry
% grep twit /etc/hosts
127.0.0.1 testtwitter.comFor basic auth
% open http://localhost:3000For twitter auth
% open http://localhost:3000/twitter