My problem statement is - I want to check if the Request has JWT token, if it has the token and the token is valid I want to pass the Request to the corresponding REST API. My plan is to use Laminas MVC Middleware for this purpose:
Client <—> Laminas Middleware <----> API Tools
Now my question is how do I integrate Middleware and API Tools in Laminas?