Initial commit
This commit is contained in:
24
node_modules/passport/lib/index.js
generated
vendored
Normal file
24
node_modules/passport/lib/index.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
// 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;
|
||||
Reference in New Issue
Block a user