aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/middlewares/index.js
blob: f0fad3418302e4dd267796cffaba6fe7e1a44b6d (plain) (tree)
1
2
3
4
5
6
7
8
9
            
 
                                  
                                          

                                                          
 
                     
                 
                         

                                         
 
 
                                                                              
 
                            
'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