Rest API authentication & security is crucial for most applications handling sensible information and user-specific data.
In this post we’ll discuss just one, token based authentication with PHP and the Slim micro framework (the logic can be applied to any routes framework or even if you have your own implementation).