Ghost/core/server/services/auth/index.js

14 lines
348 B
JavaScript
Raw Normal View History

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;