Alternative to ClientLogin for authentication

时间秒杀一切 提交于 2019-12-12 08:23:57

问题


Since Google lists the ClientLogin API as deprecated what is the recommended alternative? In my case I need a server to authenticate and post things using credentials which I own. Alternatives like OAuth won't work in this context


回答1:


The authentication method varies based on the scenario of your application. The scenarios reported by Google documentation are:

  • Login
  • Web Server Applications
  • Client-side Applications
  • Installed Applications Devices
  • Service Accounts

In your case, the Web Server Application scenario might be useful (if you give more details about what do you mean for "In my case I need a server to authenticate" I can be more precise about this point).

However, the recommended alternative to ClientLogin is OAuth2.



来源:https://stackoverflow.com/questions/10406645/alternative-to-clientlogin-for-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!