mhlab

A journey through multiplayer games engineering

Backend Services for Games - Auth Service #2

In the previous article I’ve built the authentication functionality. It outputs the previously mentioned Auth Token: a token that allows the client to call protected API in a safe way. But, as I said, a new problem arises: The user must be able to continue with their session without providing login credentials every few minutes. Refresh the token The easiest method to implement the refreshing of the auth token is… Using the current and valid auth token to request a new one. Continue reading

Backend Services for Games - Auth Service #1

2021-04-10 11 min read Game Development Backend Emanuele Manzione
Let’s talk about the first service: the Auth Service. The project structure I can see you being so excited, but you need to wait a little bit more: I am starting a new project, so I first want to talk about how to organize it. I’ll code this service with C#, on ASP.NET 5. I create some C# projects: MHLab.Backend.Auth project: it contains the logic for the service itself. Continue reading

Backend Services for Games - Concepting

During my career I often worked as backend developer for multiple games. I find the whole topic really interesting: it offers nice challenges and forces you to learn a lot of new concepts in order to be effective at your job. On the other side, there is not so much material about backend development for games on the Internet. It seems like a very elitist topic. For this reason I decided to describe my process with some articles on this blog. Continue reading