Ghost/core/server/auth/index.js
Katharina Irrgang 7b4c3fc085 Removed defunct Ghost OAuth code (#9014)
closes #8342

- no need to add a migration, because when we'released 1.0, OAuth was never an option
- it was disabled in April, 1.0-beta was released in June
- remove all remote authentication code
2017-09-18 13:01:58 +01:00

14 lines
348 B
JavaScript

var passport = require('./passport'),
authorize = require('./authorize'),
authenticate = require('./authenticate'),
oauth = require('./oauth');
exports.init = function (options) {
oauth.init(options);
return passport.init(options);
};
exports.oauth = oauth;
exports.authorize = authorize;
exports.authenticate = authenticate;