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

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

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

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

module.exports = middlewares