Best way to differentiate between browser requests

2019-06-06 16:25发布

I have some actions in my app that require a user to have logged in on the website, and some that require a "person" (a mobile app user basically) to have authenticated. In order to know whether i need to push the current request through the mobile authentication, i'd like to be able to tell whether the request came from a browser or from an iphone for example.

Is there a request header or something i can look at for this?

thanks, max

1条回答
Rolldiameter
2楼-- · 2019-06-06 16:58

take a look at mobile_fu

查看更多
登录 后发表回答