I am using yii framework for an application and I need a set of users to be authenticated with a remote server.
I have few user roles in my application. for ex:
- Super Administrator
- Brand Administrator
- Customer etc...
All the customer records are in a remote MySQL database. I have to authenticate the customers through my yii application. My yii application will be hosted in a different server.
Please assume that I can place a php script in the remote server to response my post requests.
Do I need to write my own UserIdentity class to do this?
Please help me on this. Thanks