When a CPE authenticates, I’m trying to make some decisions based on several pieces of information.
For example in cwmp.auth
I have:
AUTH("cwmp-user", EXT("authenticate", "authorize", DeviceID.SerialNumber, Tags.Onboarding, Tags.Provisioning, Tags.Provisioned))
Which works, but I would like to make decisions in the extension script that will need to be based on the request, possibly the following:
- standard and custom HTTP headers
-
x-forwarded-for
, etc…
-
- the current inform event
- the username and password sent (basic auth)
Are there parameters or variables available to be passed into the EXT()
script that could accomplish this?
Thanks!