开发者

Best way to differentiate between browser requests and requests from mobile apps?

开发者 https://www.devze.com 2023-03-13 09:36 出处:网络
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 ne

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 fr开发者_StackOverflow中文版om an iphone for example.

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

thanks, max


take a look at mobile_fu

0

精彩评论

暂无评论...
验证码 换一张
取 消