Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

[AllowAnonymous] on specific methode #1386


User avatar
0
arash created

i am using [AbpAuthorize(PermissionNames.Pages_Users)] on application service class , but for only one specific method i want to allow Anonymous access in same class. can i use [AllowAnonymous] ?

how can i do that ? :D

thank you.


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    We added [AbpAllowAnonymous] which will be released in v0.10: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/737#issuecomment-230150131">https://github.com/aspnetboilerplate/as ... -230150131</a>