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

15 lines
380 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.
*/
const Middleware = require('flitter-auth/middleware/Oauth2TokenOnly')
class Oauth2TokenOnly extends Middleware {
}
module.exports = Oauth2TokenOnly