1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| /**
| * Module dependencies.
| */
| var initialize = require('../middleware/initialize')
| , authenticate = require('../middleware/authenticate');
|
| /**
| * Framework support for Connect/Express.
| *
| * This module provides support for using Passport with Express. It exposes
| * middleware that conform to the `fn(req, res, next)` signature.
| *
| * @return {Object}
| * @api protected
| */
| exports = module.exports = function() {
|
| return {
| initialize: initialize,
| authenticate: authenticate
| };
| };
|
|