blob: 35858da2c8e411f72f648103012c596fc1b12fd9 (
plain) (
tree)
|
|
'use strict'
const oauth2 = require('./oauth2')
const pagination = require('./pagination')
const reqValidatorsMiddleware = require('./reqValidators')
const sort = require('./sort')
const secureMiddleware = require('./secure')
const middlewares = {
oauth2: oauth2,
pagination: pagination,
reqValidators: reqValidatorsMiddleware,
sort: sort,
secure: secureMiddleware
}
// ---------------------------------------------------------------------------
module.exports = middlewares
|