PeerTube/server/middlewares/oauth2.js

12 lines
244 B
JavaScript
Raw Normal View History

2016-03-21 05:56:33 -05:00
'use strict'
const OAuthServer = require('express-oauth-server')
const oAuth2 = new OAuthServer({
model: require('../models/users')
})
// ---------------------------------------------------------------------------
module.exports = oAuth2