This is the entry point for the Lambda function when the lambda framework is used. It intercepts the request and applies request side cross-cutting concerns, calls the business handler to perform the Lambda function’s business logic, and then intercepts the response with response side cross-cutting concerns.
We call these cross-cutting concerns middleware handlers and here is the list in calling sequence.
The scope-verifier is responsible for verifier the scopes in the JWT tokens against the scopes defined in the OpenAPI specification endpoint. This middleware handler is the first to be called.