I am implementing a CustomAuthorizeAttribute. I need to get the name of the action being executed. How can i get the name of current action name getting executed in the AuthorizeCore function which i am overriding ?
I am implementing a CustomAuthorizeAttribute. I need to get the name of the action
Share
You can get the Action Name like this:
EDIT:
If you want to inherit from the AuthorizationAttribute you’ll need to override the OnAuthorization method.