OpenID 与 OAuth [英] OpenID vs. OAuth

查看:30
本文介绍了OpenID 与 OAuth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
OpenID 和 OAuth 有什么区别?

OpenID 和 oAuth 之间的真正区别是什么?他们在我看来都一样.

What is really the difference between OpenID and oAuth? They look just the same to me.

我应该澄清一下,我打算在 drupal 中使用它们,如果这有什么不同的话.所以我想我受到了 drupal 中可用的任何模块实现的约束.

I should clarify, I'm planning to use them in drupal, if that makes any difference. So I guess I'm bound by whatever module implementations are available in drupal.

推荐答案

如果您在网站上有一个帐户(带有一些私人资源),您可以使用用户名/密码对登录.如果应用程序想要获取一些私有资源,并且您不想向他们提供您的用户名/密码,请使用 OAuth.

If you have an account (with some private resources) in a website, you can log in with username/password couple. If an application would like to get some private resources, and if you don't want to give them your username/password, use OAuth.

但如果您想使用唯一帐户登录多个网站,请使用 OpenID.

But if you want to log in into multiple websites with a unique account, use OpenID.

(有些网站像 OpenID 一样使用 OAuth,如果你的 OpenID 帐户中有一些私人内容,OpenID 可以像 OAuth 一样使用)

(Some websites use OAuth like OpenID, and OpenID can be use like OAuth if you have some private stuff in your OpenID account)

这篇关于OpenID 与 OAuth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆