Looks like we can’t update session variables - Nakama: Sessions | Heroic Labs Documentation
How we can force user to re-authenticate?
Looks like we can’t update session variables - Nakama: Sessions | Heroic Labs Documentation
How we can force user to re-authenticate?
I found this if you’re using the C# SDK on the client side.
await client.SessionLogoutAsync(session);
For some reason the forum is blocking me from posting a link to their own documentation. If you want to find it, its on the Client Libraries > Unity
page under the Authentication > Ending Sessions
section.
thanks, but i’m looking for server side implementation
Looks like its under the Session section in the server side function reference. Here’s the link to the Typescript functions but I’m sure they have them for Lua and Go as well if you’d prefer those.
I’ve found no in-memory datastore for Typescript, unfortunately. Global variables are freezes. This is impossible via typescript?