CoreID/app/routing/Middleware.js

23 lines
594 B
JavaScript
Raw Normal View History

2020-04-16 20:38:01 +00: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 22:21:47 +00:00
"i18n:Localize",
2020-04-17 00:59:48 +00:00
"auth:Utility",
2020-05-04 01:16:54 +00:00
"auth:TrustTokenUtility",
"Traps",
2020-05-04 01:16:54 +00:00
"SAMLUtility",
2020-04-16 20:38:01 +00:00
// 'MiddlewareName',
]
module.exports = exports = Middleware