如何使用户在我的网站上注册变得容易? [英] how to make it easy for users to register at my site?

查看:152
本文介绍了如何使用户在我的网站上注册变得容易?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为使用我们网站的用户注册,以便他们发布评论,投票等等,我想让他们能够使用他们的Facebook id ,twitter id,yahoo邮件id,gmail id,AIM id,msn id或者其他人可能拥有的(不一定是所有的,但越多越好)。我希望我的妈妈能在30秒以内才能做到。 (也就是说,没有输入你的开放id url这里类型的东西会混淆她)。我更喜欢他们不必选择一个独一无二的名字,因为这个网站得到更多的用户,很难找到一个唯一的,令人烦恼。

I want to make it dirt simple for users coming to my site to register so they can post comments, vote on things, etc. I would like for them to be able to use their facebook id, twitter id, yahoo mail id, gmail id, AIM id, msn id, or whatever else people are likely to have (not necessarily all of those, but the more the better). I want my mom to be able to do it in 30 seconds or less. (that is, no "enter your open id url here" type thing that would confuse her). I prefer they not have to pick a unique name, as that gets annoying as the site gets more users and it gets hard to find one that is unique.

什么是最好的选择?我不太确定OpenId与OAuth,还有其他选项。而且我希望对我来说,尽可能简单,开发人员(当然可以)。我不想永远学习一些协议,也不需要结构化我的整个应用程序。如果有一个网站的示例代码很容易丢弃,那将是很棒的。

What is the best option here? I'm not quite sure about OpenId vs. OAuth, and whether there are other options. And I'd like it to be as simple for me, the developer, as possible (of course!). I don't want to spend forever learning some protocol, nor have to structure my whole app around this. It would be great if there was a site with sample code that is pretty easy to drop in.

BTW,StackOverflow是一个很容易为我的网站的一个很好的例子注册。

BTW, StackOverflow is a good example of a site that was easy for me to register for.

推荐答案

DotNetOpenAuth 是StackOverflow使用的库,它是OpenID和OAuth。它是免费的,开源的,你自己承担(不需要第三方)。

DotNetOpenAuth is the library StackOverflow uses, and it does OpenID and OAuth. It's free, open source and you host it all yourself (no 3rd-party required).

它的最新版本还没有包括Facebook(OAuth 2.0)支持,但会在下一个版本(几个星期之内)。

It's latest version doesn't yet include Facebook (OAuth 2.0) support but that will come in the next version (a few weeks away).

这篇关于如何使用户在我的网站上注册变得容易?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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