Yii 2 RESTful API authenticate with HTTP Basic (Yii 2 advanced template)
问题 REST API is working without authentication methods. Now i wanted to authenticate REST API with HTTP Basic authentication for API requests via mobile application. I tried with yii2 guide, but it didn't work for me. basically mobile user need to be login with username & password, if a username and password are correct, user need to be login and further API request need to be validate with token. when i debug findIdentityByAccessToken() function $token equal to username. Postman extension used