Enough of the theory and samples. Time for us to convert the requirements into reality. We will start with the authentication module first. Recall that based on our discussion in the last chapter, this module needs to support a secure login, a forgotten password, as well as register user functionality. Once we are done with it, we will have completed a substantial part of our app, as per the following flowchart:
We are going to leverage Facebook authentication to implement this module of our system. We could have used any of the other providers as well, such as Twitter, Google, Microsoft, and so on, but since it's a fun chat app, Facebook is most appropriate. InĀ Chapter 7, To the Cloud, we will see how we can support multiple authentication providers and let the user decide which provider they wish to use for authentication...