Third-party login plug-in. NET edition XY. OAuth-CSharp, ecshop third-party login plug-in

Source: Internet
Author: User
Tags oauth

Third-party login plug-in. NET edition XY. OAuth-CSharp, ecshop third-party login plug-in
XY. OAuth-CSharp

GitHub: XY. OAuth-CSharp

OSChina: XY. OAuth-CSharp

Third-party login plug-in. NET

Use

First, install "XY. OAuth" from NuGet"

Add the following configuration information to the "configuration" sub-node "etettings" under the root node of the project configuration file:

1 <! -- Third-party login configuration Start --> 2 <! -- Client ID --> 3 <add key = "Sina_Client_ID" value = ""/> 4 <! -- Key --> 5 <add key = "Sina_Client_Secret" value = ""/> 6 <! -- Return address --> 7 <add key = "Sina_Callback_URL" value = ""/> 8 9 <! -- Client ID --> 10 <add key = "QQ_Client_ID" value = ""/> 11 <! -- Key --> 12 <add key = "QQ_Client_Secret" value = ""/> 13 <! -- Return address --> 14 <add key = "QQ_Callback_URL" value = ""/> 15 16 <! -- Client ID --> 17 <add key = "Baidu_Client_ID" value = ""/> 18 <! -- API --> 19 <add key = "Baidu_Client_API" value = ""/> 20 <! -- Key --> 21 <add key = "Baidu_Client_Secret" value = ""/> 22 <! -- Return address --> 23 <add key = "Baidu_Callback_URL" value = ""/> 24 <! -- Configure End for third-party logon -->

For more information about the call method, see the test project.

Supported

The current version supports. NET3.5,. NET4.0,. NET4.5

Note:

XY. OAuth. Web in the project is a test project and is set up by ASP. NET MVC4.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.