eecs448-project-4/app/routing/middleware/auth/Oauth2TokenOnly.middleware.js

17 lines
450 B
JavaScript

/*
* Oauth2TokenOnly Middleware
* -------------------------------------------------------------
* Allows the request to proceed if a valid OAuth2 bearer token was
* provided. If not, return a JSON-encoded error message.
*
* This file was automatically generated by the Flitter framework.
*/
const Middleware = require('flitter-auth/middleware/Oauth2TokenOnly')
class Oauth2TokenOnly extends Middleware {
}
module.exports = Oauth2TokenOnly