Current Behavior
I have to annotate all of my controller routes with @authenticate('startegry_name'), but in my case I just have a single strategy and don't like the compulsion of adding the @autheticate annotation to each of my 20-30 routes. Though, one or two routes are there where I don't need any authentication and should be available for public.
Expected Behavior
Would be better if there is a way to have authentication default for all routes except for one or two. IF there is already some sort of way available please let me know what would be that.
Acceptance criteria
Current Behavior
I have to annotate all of my controller routes with @authenticate('startegry_name'), but in my case I just have a single strategy and don't like the compulsion of adding the @autheticate annotation to each of my 20-30 routes. Though, one or two routes are there where I don't need any authentication and should be available for public.
Expected Behavior
Would be better if there is a way to have authentication default for all routes except for one or two. IF there is already some sort of way available please let me know what would be that.
Acceptance criteria
@authenticate, the method would use the metadata as is without checking the class@authenticate, the method would check the class level@authenticate.skipor@authenticate('skip')to exclude a method to inherit@authenticatefrom the class