Readers: 57 | Updated: 2008

谷歌偷换了OpenID的概念?

Translate Into:
  今天,TechCrunch郑重的报道了谷歌官方博客郑重发布的一则消息,gmail可以用作OpenID了!但是,目前,我还没有发现支持OpenID登陆的网站支持Gmail作为OpenID登陆。谷歌Gmail作为OpenID,还不符合OpenID的标准协议:

  1.作为标准的OpenID,应该是URL的格式:http://openid.zuosa.com/hongxiaowan;

  2.而作为谷歌标准的OpenID,是email的格式,hongxiaowan@zuosa.com;

  其实,这两种格式在逻辑意义上都是一样的,这两者究竟应该哪一个更加方便呢?不用说,谷歌的格式对于用户来说更加方便,OpenID推广的一大困难就在于URL格式的ID。不过,谷歌显然没有必要推出自己的一套标准,要支持email格式的,只要在OpenID上面加一个解释过程就可以了。这个在OpenID 2.0的讨论中已经有所涉及:

  1.登陆的时候用email的格式,比如:hongxiaowan@zuosa.com;

  2.将email格式解释为URL格式,比如:http://openid.zuosa.com/hongxiaowan;

  就此,URL和email格式的OpenID就整合到一起了,用email作为OpenID登陆等价于URL格式的OpenID,这是一个最简单的方案:

  1.由OpenID供应商提供API,返回OpenID的URL格式:

  比如API的URL是http://openid_url_api.zuosa.com,

  返回的URL格式是:

  http://###openid_domain###/###openid_id###

  可以对应于这样的URL:

  http://openid.zuosa.com/hongxiaowan

  2.根据email格式的OpenID返回URL格式的OpenID:

        echo openid_convert_email_to_url("hongxiaowan@zuosa.com");
    
    function openid_convert_email_to_url($openid_email)
     {
      $openid_pieces = explode("@", $openid_email);
      $openid_url_format=file_get_contents("http://openid_url_api.".$openid_pieces[1]);
      $openid_url=str_replace("###openid_domain###",$openid_pieces[1],$openid_url_format);
      $openid_url=str_replace("###openid_id###",$openid_pieces[0],$openid_url);
      return $openid_url;
     }
    ?> 继续.

Related:

CNet评选出十大Google产品 - 24 六月 2006

2006年愚人节……Google - 31 三月 2006

做啥(Zuosa):又一个中文Twitter克隆版 - 30 六月 2007

OpenID gets backing from major tech firms - 13 February 2008




本 Feed 内容归 Creative Weblogging 公司版权所有,并受到版权法保护。我们将会严肃纠察私自滥用该内容的行为。如果您希望非商业使用该内容,请发邮件至 feeds - at - creative-weblogging.com.

http://www.creative-weblogging/audio//

From The Blogs

Internet Observation

2007
OpenID与Windows Live ID
David Berlind有一篇博客,标题为如果“你”建立OpenID,“他们”会来吗?,其中写到 “如果你上周错过了这个消息,微软正在进行另一项大变动,它关于单点登入技术。最初的Passport,遭... 查看全文

Dare Obasanjo aka Carnage4Life

2007
It isn't OpenID vs. Windows Live ID (Web Authentication )
David Berlind has a blog post entitled If ‘you’ build OpenID, will ‘they’ come? where he writesIn case you missed it last week, Microsoft is taking another swing at the idea of single sign-on technolo... 查看全文

Functioning Form: Interface Design

2008
Webstock 2008: OpenID and decentralised social networks
Simon Willison’s OpenID and decentralised social networks talk at Webstock 2008 illustrated OpenID’s user experience, potential issues, and role in building a de-centralized social network online. Ope... 查看全文

ReadWriteWeb

2008
Are National ID Cards Going to Snuggle Up With OpenID?
The REAL ID Act of 2005 is said by some to pave the way for a United States National ID Card and has come under heavy criticism from a wide range of people in the US.Some recent developments indicate ... 查看全文

ReadWriteWeb

2008
Are National ID Cards Going to Snuggle Up With OpenID?
The REAL ID Act of 2005 is said by some to pave the way for a United States National ID Card and has come under heavy criticism from a wide range of people in the US.Some recent developments indicate ... 查看全文

ReadWriteWeb

2008
Higgins Project 1.0 Takes OpenID to the Next Level
An open source identity platform called the Higgins Project launched the 1.0 version of their service this weekand it's a nice look into what could be the future of user-centric identity online.Higgin... 查看全文

ReadWriteWeb

2008
Higgins Project 1.0 Takes OpenID to the Next Level
An open source identity platform called the Higgins Project launched the 1.0 version of their service this weekand it's a nice look into what could be the future of user-centric identity online.Higgin... 查看全文

Wangtam

2008
SignOn: 又一个 OpenID 服务
SignOn 如其名,是一款与账户登录有关的在线服务。事实上它提供的服务基于 OpenID,功能应用也相同,只是帐户(域名)有所不同,选项更多了一些,并且号称更具安全性。继续.Related: 微软表... 查看全文

Leo Blog - Love City

2008
雅虎宣布全面支持在线身份识别OpenID 2.0技术
550)this.width=550;" />雅虎周四宣布,将全面支持在线身份识别OpenID 2.0技术.用户借助统一帐号,只需一次输入帐户和密码便可以在各种网站和博客间切换浏览.雅虎称从1月30日... 查看全文

ReadWriteWeb

2008
OpenID Foundation Goes International: Big News in Japan
The OpenID Foundation announced the launch of its first international chapter today to big accolades in Japan.The creation of the Japanese OpenID chapter was participated in by a host of big web compa... 查看全文
More Articles