I’ve just read 5 of your articles and they’re very good.
Victor Moreno
11

Hello Victor!

Thanks for appreciating about articles. I know about the convention what you mentioned, may be i have not used here. Yeah ofcourse, it removes one level of nesting from code and is much cleaner and readable. And I defined scope for different roles, that will be resolve your problem. Session is not good approach, if your client is running on different server. So, in case of your server and client both are running on different server, you need to implement token based authentication.

Show your support

Clapping shows how much you appreciated Soni Pandey’s story.