Ghost/core/server/services/auth/index.js
2017-12-14 03:01:23 +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;