backend/app/routing/middleware/auth/ProviderRoute.middleware.js

16 lines
424 B
JavaScript
Raw Normal View History

2020-02-08 03:08:24 +00:00
/*
* 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