I need to create a webservice that will receive request of web app and app mobile. The webservice will return response in json.
But the user need to authorization to request data from webservice. What’s the better way to create this rules using Yii 1.x? How can I do to user that use app mobile, login in my webservice, request and receive data? I never created webservice using authorization. My first time and I would like suggestion and tutorial or documentation.