Hi! recently I have to apply api-key validation to a web app with a lot of endpoints and I'm going to tell you how I did it in a centralized way.
I'm going to explain you how we can apply in a generic way (or not) api-key validation to all the endpoints of our web app.
For this feature I take as a template the class Base.cls of this repository iris-rest-api-template
I modified a bit this class to be able to check api-key security. The idea is that in your features you copy this class in your projects and you extend it for your own implementations.
%20(2).jpg)




.png)


