https://supertokens.com/ logo
s

sharma

06/03/2022, 12:31 AM
What's the difference between
session.getAccessTokenPayload()
vs
session.userDataInAccessToken
?
r

rp

06/03/2022, 3:57 AM
Hey @sharma
There is no difference. However, the function is what is public and the variable is private. So it’s better to use the function
2 Views