module.exports = { get authorize() { return require('./authorize'); }, get authenticate() { return require('./authenticate'); }, get session() { return require('./session'); }, /* * TODO: Get rid of these when v0.1 is gone */ get init() { return (options) => { require('./oauth').init(options); return require('./passport').init(options); }; }, get oauth() { return require('./oauth'); } };