aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/index.js
blob: f0fad3418302e4dd267796cffaba6fe7e1a44b6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict'

const oauth2 = require('./oauth2')
const pagination = require('./pagination')
const reqValidatorsMiddleware = require('./reqValidators')
const secureMiddleware = require('./secure')

const middlewares = {
  oauth2: oauth2,
  pagination: pagination,
  reqValidators: reqValidatorsMiddleware,
  secure: secureMiddleware
}

// ---------------------------------------------------------------------------

module.exports = middlewares