https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

10/18/2021, 4:58 AM
Got it. So you could add support for tsoa by implementing a few wrappers / interfaces. Examples of other frameworks are here: https://github.com/supertokens/supertokens-node/blob/master/lib/ts/framework - Implement the
BaseRequest
class for it - Implement the
BaseResponse
class for it. - Wrap the supertokens.middleware provided by us with a middleware that works as per tsoa (if needed). - Wrap the verifySession and errorHandler middlewares with something that works with tsoa (if needed).