15 lines
375 B
JavaScript
15 lines
375 B
JavaScript
'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
|