2020-04-16 15:38:01 -05:00
|
|
|
/*
|
|
|
|
|
* Global Middleware Definitions
|
|
|
|
|
* -------------------------------------------------------------
|
|
|
|
|
* These middleware are applied, in order, before every request that
|
|
|
|
|
* Flitter handles, regardless of request type. Each middleware class
|
|
|
|
|
* can be referenced using the middleware's Flitter canonical name.
|
|
|
|
|
*
|
|
|
|
|
* Route-specific middleware should be specified in the corresponding
|
|
|
|
|
* routes file.
|
|
|
|
|
*/
|
|
|
|
|
const Middleware = [
|
2020-05-30 17:21:47 -05:00
|
|
|
"i18n:Localize",
|
2020-04-16 19:59:48 -05:00
|
|
|
"auth:Utility",
|
2020-05-03 20:16:54 -05:00
|
|
|
"auth:TrustTokenUtility",
|
2020-05-22 09:47:01 -05:00
|
|
|
"Traps",
|
2020-05-03 20:16:54 -05:00
|
|
|
"SAMLUtility",
|
2020-04-16 15:38:01 -05:00
|
|
|
|
|
|
|
|
// 'MiddlewareName',
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
module.exports = exports = Middleware
|