本文介绍了ClientLogin API是否关闭?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经为三星移动(功能手机,相机)管理了SNS服务。

我们正在处理有关 ClientLogin API 的问题。当我们请求ClientLogin,然后我们收到响应: 404错误



这个API只有几个小时操作。

我们无法升级到OAuth2,因为无法更新设备固件。



是否仍然有可用?



请求和响应的格式如下

  ####################### REQUEST ##### ################## 
POST / accounts / ClientLogin HTTP / 1.1
Content-Type:application / x-www-form-urlencoded
内容长度:87
主持人:www.google.com
内容类型:application / x-www-form-urlencoded
代理连接:关闭
连接:关闭

电子邮件=& Passwd =& service = lh2& source = SamsungMobile + SNS +网关

############### ######## RESPONSE #######################
HTTP / 1.1 404 Not FoundContent-Type:text / plain
X-Frame-Options:DENY
缓存控制:无缓存,无存储
Pragma:无缓存
过期:1990年1月1日星期一00:00: 00 GMT
日期:2015年5月27日星期三00:09:55 GMT
X-Content-Type-Options:nosniff
X-XSS-Protection:1; mode = block
Content-Length:65
服务器:GSE
备用协议:443:quic,p = 1
连接:关闭

解决方案

您可以在您发布的链接中看到

ClientLogin is a deprecated authentication protocol and is being turned down on April 20, 2015. At that time, ClientLogin requests will no longer be answered. If you have existing applications that use ClientLogin, we encourage you to migrate to OAuth. The ClientLogin support in this library will be removed in the next major release.

Its not going to work anymore you will have to upgrade or retire the application.

这篇关于ClientLogin API是否关闭?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 05:29