]>
Commit | Line | Data |
---|---|---|
9f10b292 | 1 | 'use strict' |
8c308c2b | 2 | |
b3b92647 | 3 | const oauth2 = require('./oauth2') |
f0f5567b C |
4 | const reqValidatorsMiddleware = require('./reqValidators') |
5 | const secureMiddleware = require('./secure') | |
a030a9b2 | 6 | |
f0f5567b | 7 | const middlewares = { |
b3b92647 | 8 | oauth2: oauth2, |
a030a9b2 C |
9 | reqValidators: reqValidatorsMiddleware, |
10 | secure: secureMiddleware | |
9f10b292 | 11 | } |
8c308c2b | 12 | |
9f10b292 | 13 | // --------------------------------------------------------------------------- |
c45f7f84 | 14 | |
9f10b292 | 15 | module.exports = middlewares |