CoreID/app/routing/middleware/auth/ProviderRoute.middleware.js
2020-04-16 19:59:48 -05:00

16 lines
424 B
JavaScript

/*
* Auth ProviderRoute Middleware
* -------------------------------------------------------------
* Many auth routes specify the name of a particular auth provider to
* use. This middleware looks up the provider by that name and injects
* it into the request.
*/
const Middleware = require('flitter-auth/middleware/ProviderRoute')
class ProviderRoute extends Middleware {
}
module.exports = ProviderRoute