如何在asp.net中使用OAuth创建自定义提供程序? [英] How to create custom provider with OAuth in asp.net ?

查看:91
本文介绍了如何在asp.net中使用OAuth创建自定义提供程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii,



我正在使用asp.net登录,创建用户,注册向导控件..



我想使用我的自定义提供程序,以便将所有详细信息保存到我的应用程序当前数据库表中。



注册用户详细信息以及填写的详细信息使用OAuth详细信息.. facebook,google等..



请建议

Hii ,

I am using asp.net login ,create user , Register wizard control..

I want to use my custom provider so that all the details will get save into my application current database table.

register user details as well details which was filled using OAuth details .. facebook , google and so on ..

Please suggest

推荐答案

你需要为api创建自己的facebok,google,twitter,linkedin等应用程序。并且用那个api你可以做任何你想做的事情。



for fb

https://developers.facebook.com/products/login/ [ ^ ]



for google

https://developers.google.com/+/api/oauth [ ^ ]



for twitter

https://dev.twitter.com/oauth/overview/introduction [ ^ ]



for linkedin

http://developer.linkedin.com/documents/authentication [ ^ ]





现在,如果您想使用其他人,那么这里是链接

http://www.aspsnippets.com/Articles/Login-with-Twitter-in-ASPNet-using-Twitter-Button.aspx [ ^ ]



http:// www。 aspsnippets.com/Articles/Login-with-FaceBook-account-in-ASPNet-Website.aspx [ ^ ]
you need to create your own application in facebok,google,twitter, linkedin etc. for the api. and with that api you can do waht ever you want to do..

for fb
https://developers.facebook.com/products/login/[^]

for google
https://developers.google.com/+/api/oauth[^]

for twitter
https://dev.twitter.com/oauth/overview/introduction[^]

for linkedin
http://developer.linkedin.com/documents/authentication[^]


Now if you want to use others then here are links
http://www.aspsnippets.com/Articles/Login-with-Twitter-in-ASPNet-using-Twitter-Button.aspx[^]

http://www.aspsnippets.com/Articles/Login-with-FaceBook-account-in-ASPNet-Website.aspx[^]


检查以下内容。



http://blogs.msdn.com/b/webdev/archive/2012/09/12/integrate -openauth-openid-with-your-existing-asp-net-application-using-universal-providers.aspx [ ^ ]



https://www.asp.net/mvc/overview/older-versions/using-oauth-providers-with-mvc [ ^ ]
Check below .

http://blogs.msdn.com/b/webdev/archive/2012/09/12/integrate-openauth-openid-with-your-existing-asp-net-application-using-universal-providers.aspx[^]

https://www.asp.net/mvc/overview/older-versions/using-oauth-providers-with-mvc[^]


这篇关于如何在asp.net中使用OAuth创建自定义提供程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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