1234567891011121314151617181920212223242526 |
- /**
- * Module dependencies.
- */
- var Passport = require('./authenticator')
- , SessionStrategy = require('./strategies/session');
- /**
- * Export default singleton.
- *
- * @api public
- */
- exports = module.exports = new Passport();
- /**
- * Expose constructors.
- */
- exports.Passport =
- exports.Authenticator = Passport;
- exports.Strategy = require('passport-strategy');
- /**
- * Expose strategies.
- */
- exports.strategies = {};
- exports.strategies.SessionStrategy = SessionStrategy;
|