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

gitcommitshow

05/02/2022, 1:25 AM
What does
Session.refreshToken
does? How to find the references of this function. The SDK reference doesn't say much about it https://supertokens.com/docs/nodejs/modules/recipe_session.html#refreshSession-1
Similarly, for frontend sdk, I can't find the references for different functions. I need to know what are different events that are thrown by the app
onHandleEvent
, I need those to handle all the edge cases
n

nkshah2

05/02/2022, 9:06 AM
Hi, Did you mean
Session.refreshSession
?
The reference docs are meant more to review function signatures, the recipe guides are a better place to look for actual functionality. Also for the onHandleEvent, refer to this: https://supertokens.com/docs/session/advanced-customizations/frontend-hooks/handle-event