2018-10-02 11:35:23 +03:00
|
|
|
module.exports = {
|
|
|
|
get authorize() {
|
|
|
|
return require('./authorize');
|
|
|
|
},
|
2016-09-30 14:45:59 +03:00
|
|
|
|
2018-10-02 11:35:23 +03:00
|
|
|
get authenticate() {
|
|
|
|
return require('./authenticate');
|
|
|
|
},
|
2016-09-30 14:45:59 +03:00
|
|
|
|
2018-10-02 11:35:23 +03:00
|
|
|
get session() {
|
|
|
|
return require('./session');
|
|
|
|
},
|
2019-07-17 13:28:16 +03:00
|
|
|
|
|
|
|
get setup() {
|
|
|
|
return require('./setup');
|
|
|
|
},
|
|
|
|
|
|
|
|
get passwordreset() {
|
|
|
|
return require('./passwordreset');
|
|
|
|
},
|
|
|
|
|
2018-10-02 11:35:23 +03:00
|
|
|
/*
|
|
|
|
* 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');
|
|
|
|
}
|
|
|
|
};
|