the verifySession function is there a way I can call this as a normal function to get the session object back and not as a middleware? I am using tsoa atm and they don't have great support for express middleware atm. They only expose the req object
try {
const session = await verifySession(req, {}, () => {})
}
or can I wrap it in a promise and pass resolve as the next