-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
Tianyi Ma edited this page Jul 27, 2017
·
3 revisions
Players will log in through the login server and be given an access token upon successful authentication. After receiving a list of available game servers, they will use their access token to connect to a specified server. All game servers will query the control server to check if the token belongs to a player that is already online. If everything checks out, the player's data will be loaded by the connected game server, and the player is allowed to enter the game world.
+--------------------+
| |
| User |
| |
+---------+----------+
|
|
+-----------------+ +---------v----------+ +-----------------+
| <---+ <---+ |
| +---> Login Server +---> |
| | | | | |
| Control | +---------+----------+ | Database |
| Server | | | |
| | +---------v----------+ | |
| <---+ <---+ |
| +---> Game Servers +---> |
| | | | | |
+-----------------+ +--------------------+ +-----------------+