0
sparkyjr created
I have added some methods to CommonLookupAppService. The CommonLookupAppService has the AbpAuthorize attribute, indicating that only authorized users can access this service methods.
Now, I want to suppress authorization for a method in this CommonLookupAppService. I tried using AbpAllowAnonymous and AllowAnonymous attributes, but unfortunately these attributes aren't available in the project.
How do I suppress authorization for a method in any service, which has AbpAuthorize attribute?
1 Answer(s)
-
0
Hi,
You need to use AbpAllowAnonymous attribute for this. Which version of ABP do you use in your project ? This attribute should be available for ABP v0.10.0 and higher versions.