2018-10-02 15:35:23 +07:00
|
|
|
module.exports = {
|
|
|
|
get getSession() {
|
|
|
|
return require('./middleware').getSession;
|
|
|
|
},
|
2019-01-18 17:41:52 +01:00
|
|
|
|
2018-10-02 15:35:23 +07:00
|
|
|
get cookieCsrfProtection() {
|
|
|
|
return require('./middleware').cookieCsrfProtection;
|
|
|
|
},
|
2019-01-18 17:41:52 +01:00
|
|
|
|
2018-10-02 15:35:23 +07:00
|
|
|
get safeGetSession() {
|
|
|
|
return require('./middleware').safeGetSession;
|
|
|
|
},
|
2019-01-18 17:41:52 +01:00
|
|
|
|
2018-10-02 15:35:23 +07:00
|
|
|
get createSession() {
|
|
|
|
return require('./middleware').createSession;
|
|
|
|
},
|
2019-01-18 17:41:52 +01:00
|
|
|
|
2018-10-02 15:35:23 +07:00
|
|
|
get destroySession() {
|
|
|
|
return require('./middleware').destroySession;
|
|
|
|
},
|
2019-01-18 17:41:52 +01:00
|
|
|
|
2018-10-02 15:35:23 +07:00
|
|
|
get getUser() {
|
|
|
|
return require('./middleware').getUser;
|
|
|
|
}
|
|
|
|
};
|