OpenID

来自开放百科 - 灰狐
2021年2月13日 (六) 02:47Allen (讨论 | 贡献)的版本

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到: 导航, 搜索
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 OpenID Thanks, Wikipedia.
Openid.png

OpenID is an open, decentralized, free framework for user-centric digital identity.

OpenID,中文我们称之为身份网址。 是互联网新一代的简单、开放、分布和安全的统一认证体系。 它可以让您直接使用所有支持OpenID的网站,而无须每次都要经过注册。

OpenID, 就中文名称来讲,就是采用您的独立拥有的URL地址作为您的身份认证,通常直接是采用您的域名或者第三方网站提供的网址直接作为您的身份网址, 如openid.yourdomain.com / yourname.openid.cn / yourname.myopenid.com 等等。这里说明怎样利用自己的域名作为OpenID.

下面这个链接,是目前许多OpenID认证服务提供商, 基本上都是国外的服务商:

http://openid.net/wiki/index.php/Public_OpenID_providers

推荐使用: myopenid.com

当然,您也可以自己建立一个OpenID认证服务器

AOL is now supporting OpenID

目录

新闻

  • OpenID Certification program won Best Identity Innovation award, March 2018

安装

获得 PHP Standalone OpenID Server

http://www.openidenabled.com/openid/php-standalone-openid-server/

获得 JanRain PHP OpenID library

http://www.openidenabled.com/openid/libraries/php

Requirements

1. A MySQL server, version 4.x or greater.

http://www.mysql.com/

2. PHP MySQL support

3. The JanRain, Inc. PHP OpenID library, version 1.1.0 or greater.

http://www.openidenabled.com/openid/libraries/php

4. The Smarty templating system, version 2.6 or later (may work with earlier versions; PLEASE contact us and let us know if it works on yours!)

http://smarty.php.net/

5. PEAR DB (to install, run "pear install db" as root)

6. PHP GD extension with FreeType support (this is used to render Captcha images)

pear install --alldeps http://www.openidenabled.com/resources/downloads/php-openid/pear/Auth_OpenID-1.2.2.tgz

Python

sample: wget http://download.huihoo.com/openid/python-openid-2.1.1.zip
python setup.py install
cd examples
Start the consumer server: python consumer.py --port 8001
In another terminal, start the identity server: python server.py --port 8000
Open your web broswer, and go to the consumer server: http://localhost:8001/
Enter an identity url managed by the sample identity server: http://localhost:8000/id/bob 
input bob
You are logged in as bob. Your OpenID identity URL is http://localhost:8000/id/bob
http://localhost:8001/
input http://localhost:8000/id/bob 
You have successfully verified http://localhost:8000/id/bob as your identity.

文档

链接

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱