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

16 lines
424 B
JavaScript
Raw Permalink Normal View History

2020-04-17 00:59:48 +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