asp.net C# 上的 SSO 库
C#.NET 中有哪些可用于 SSO 的开源库。
基本上我想与 Google SSO 连接,然后将进一步继续与其他提供商连接。
What the the Open source Library available in the C#.NET for the SSO.
Basically I want to connect with Google SSO then will further continue with other providers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
查看:DotNetOpenAuth
此外,您可能还需要查看以下链接:
http://msdn.microsoft.com/en-us/library/ms972971.aspx
http://weblogs.asp.net/hernandl/archive/2004 /06/09/ssoformsauth.aspx
Check out: DotNetOpenAuth
Also, you may want to check the following links:
http://msdn.microsoft.com/en-us/library/ms972971.aspx
http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx
Windows Identity Foundation (WIF) 是 Microsoft 的官方身份联合库。
在您的场景中,您还可以使用访问控制服务 (ACS) 与 Google、Yahoo! 等联合身份。所有这些(以及更多)都受到开箱即用的支持。
示例、文档等可在此处获取:http://claimsid.codeplex.com
The Windows Identity Foundation (WIF) is Microsoft's official library for identity federation.
In your scenario you can also use Access Control Service (ACS) to federate identity with Google, Yahoo!, etc. All of them (and more) are supported out of the box.
Samples, documentation, etc. available here: http://claimsid.codeplex.com
如果您对服务器有更多的控制权,Shibboleth 也可能是一个选择。它实际上简化了我们为数千用户提供服务的应用程序的很大一部分,并且经过深思熟虑、灵活且可扩展。基本上,定义一个应该监视凭据的目录,Shibboleth 会处理其余的事情。
If you have a bit more control over your servers, Shibboleth might be an option as well. It actually simplified a large portion of our application that serves thousands of users and it is well thought out, flexible, and scalable. Basically, define a directory that should be watched for credentials and Shibboleth takes care of the rest.
您应该使用 DotNetOpenAuth,如 Kamyar 的答案中所述。如果您想查看使用 DotNetOpenAuth 和其他系列辅助库的完整实现,您应该看看这篇文章:
使用 DotNetOpenAuth 在 ASP.NET Web 表单中集成 OpenID
You should use DotNetOpenAuth, as stated in Kamyar's answer. If you want to see a whole implementation using DotNetOpenAuth and other series of auxiliary libraries, you should have a look at this article:
Integrating OpenID in ASP.NET Web Forms using DotNetOpenAuth