I am not sure if I understood your question correctly. If you try to access the parameter values, I have an answer for you, if you really want to know the types of parameters, then @Matteo Mosca's answer will be correct:
It depends on where the parameters came from. Are they QueryString parameters or form parameters or cookies or ...
The ASP.NET middleware model attempts to map parameters in an action method. In your user attribution, you can access parameters with context, for example.
string input = httpContext.Request.Form["myInput"]
EDIT: This, of course, is not the most pleasant solution, because you need information about the placed parameters. Since I do not know your current requirements, I cannot offer a better offer. Of course, you can iterate through a collection of forms.
It may be possible that you are passing the field name as a parameter / property to MyAuthorizeAttribute.
source share