mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
192ebb1739
refs #9178 - move tests as well
14 lines
348 B
JavaScript
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;
|