This article shows you how to implement user authentication in a jQuery Mobile and PhoneGap application. We will use the Meeting Room Booking app as the sample application for this tutorial. User registration (which we added in the previous chapter of this series) and authentication are the door that users have to go into the application.
The authentication feature has two subsystems that work together. One lives inside the mobile application and captures the user’s credentials, performs a first round of validation, and sends the credentials to the server.