Hello,
I’d like to implement a server-side application version check.
With initializer.registerBeforeAuthenticate it works perfectly and stops authentication if the client version is older.
However, if the player has an active session, authentication is carried out via SessionRefresh.
I see that in the documentation there’s an api POST for this route, but in the documentation the hook initializer.registerBeforeSessionRefresh(guardFunction); is commented out (Guarding APIs - Heroic Labs Documentation). Is it not yet implemented for typescript?
Should I use an RPC or pass through using GO?
Thanks for your clarification!