Verifying authentication session on server
Right now, I've got a system in place where players can enter their credentials using UMG. Those credentials are then posted over HTTPS to a webserver, which in turn returns a json reply with a session id and authentication token.
The idea is that the session id and authentication token are then given to a gameserver on-connect to verify and validate the session. Thats the point where I'm currently stuck at.
From what I've been able to gather, there are a few functions that get called on-connect:
AGameSession::ApproveLogin() AGameSession::PostLogin() AGameMode::PreLogin() AGameMode::Login() AGameMode::PostLogin()
I'm wondering which of these would be the best to use. Also, how would I go about passing custom information to the server on-connect from the client side?
asked Jan 14 '15 at 06:45 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here