9

Event-Driven Authentication

This chapter covers one of the essential topics for developing secure applications – authentication. Authentication is an identity check. An example of authentication in the physical world is the request for an identity document to get into a building.

In this chapter, you will learn how to implement this checking process with event-oriented programming. We will first create tests for login and logout actions, and then we will create these actions. After that, we will implement user authentication for the Inventory module. For this, we will create an employee registration. Finally, we will implement a user identity check based on events.

In this chapter, we’ll be covering the following topics:

  • Creating login and ...

Get PHP Web Development with Laminas now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.