backend/app/routing/middleware/auth/ProviderRoute.middleware.js
2020-02-07 21:08:44 -06: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