Monitoring access to your mobile app is a very important capability that deserves further consideration. Email validation is one of the simplest and most secure ways to determine the authenticity and legitimacy of the person trying to log into your app. 4D for iOS enables you to easily handle this validation process by verifying that an email comes from whom it claims to be sent from, and by allowing you to block harmful uses of the email.
Basically, the process updates a user’s session status to give them access to the application
A simple validation process
The process can be summarized in three, straightforward steps:
- When a user enters their email address in the login form and clicks on the Login button, their session status will be updated to “pending” status.
- A validation email is then sent to the user, who will just need to click on the email validation link to update their session status from “pending” to “accepted”.
- Once the validation process is complete, the user can reopen the app and because their session status is “accepted”, access is now granted.
The documentation is available to help you manage your first email authentications and fully understand the process.
A component to manage sessions
The component that handles and makes the process easier is also available so you can adapt the authentication to suit your own needs. Feel free pick and choose the aspects that are relevant to you. And of course, all contributions are welcome to this project in the form of feedback, bug reports, and even better – pull requests!