2020-11-05 02:31:52 +00:00
|
|
|
/*
|
|
|
|
* Oauth2TokenOnly Middleware
|
|
|
|
* -------------------------------------------------------------
|
|
|
|
* Allows the request to proceed if a valid OAuth2 bearer token was
|
|
|
|
* provided. If not, return a JSON-encoded error message.
|
2020-11-08 18:34:50 +00:00
|
|
|
*
|
|
|
|
* This file was automatically generated by the Flitter framework.
|
2020-11-05 02:31:52 +00:00
|
|
|
*/
|
|
|
|
const Middleware = require('flitter-auth/middleware/Oauth2TokenOnly')
|
|
|
|
class Oauth2TokenOnly extends Middleware {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = Oauth2TokenOnly
|