I need a way to check if "allow anonymous" is on/off in the controller action. Whether it comes from controller attribute, action attribute
[AllowAnonymous]
or it is set as filter in the MvcOptions
opts.Filters.Add(new AllowAnonymousFilter());
Is it possible?