Closed icebob closed 3 years ago
@icebob I propose to add the ability not only to the name of the method, but also to specify the service.action
.
I don't feel it's a common use-case, because for authentication you should access to the req
which is not serializable, so you can't send it to a remote action. It's most common, if you get the info from req
and make an action call in a method.
You're right.
This PR adds feature to define custom authentication and authorization methods for every routes. In this case you should set the method name instead of
true
value.Example