sso
This commit is contained in:
parent
029fe23657
commit
1876580d86
911 changed files with 160008 additions and 2 deletions
26
node_modules/passport/lib/index.js
generated
vendored
Normal file
26
node_modules/passport/lib/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue