For CodeIgniter 3 we wrote some api's using a rest.php file (using Phil Sturgeon REST Api) to get the X-Api-key from the header. Are there any similar functionality in CodeIgniter 4 that can be added to check an Api Key passed in the header? Much of the search results I have found discuss login and password authentication but not much specifically on how to check an api key. If I could be pointed in a direction that would explain how to include the functionality in the CodeIgniter 4 framework it would be greatly appreciated. Also, this is my first post in the CodeIgniter forum so hints on where / how to ask for help would be appreciated as well.
Thank You