looks like there are no methods for it, only thing close is in supertokens-website:
Copy code
js
import SuperTokens from 'supertokens-website';
if (await SuperTokens.doesSessionExist()) {
let userId = await SuperTokens.getUserId();
let jwtPayload = await SuperTokens.getJWTPayloadSecurely();
}