FIWARE / api-umbrella

Open source API management platform
https://fiware-api-umbrella.readthedocs.io/
MIT License
2 stars 7 forks source link

Move policy evaluation code from iSHARE-compliant authorization mode module to separate utility module #16

Closed dwendland closed 2 years ago

dwendland commented 2 years ago

The code which extracts the different policy parameters from an NGSI request should be splitted into separate functions and added to a separate utility module.

Policy parameters are:

Current implementation can be found here: https://github.com/FIWARE/api-umbrella/blob/master/src/api-umbrella/proxy/middleware/policy_validator_cb_ishare_auto.lua#L29

Utility module could be stored under src/api-umbrella/utils similar to idp.lua.