Missing "sessionLogout" TypeScript definition

This function is missing in typescript runtime. I’ve submit PR - Add missing "sessionLogout" TypeScript definition by formatCvt · Pull Request #69 · heroiclabs/nakama-common · GitHub

But what is used for? When we should use it?

Hi @formatCvt thank you for reporting. sessionLogout is used to invalidate a user’s session and refresh token or all their tokens if none are supplied.

1 Like