OSChinaOAuth2DotNetOpenAuth的OSChina登陆扩展
DotNetOpenAuth.OSChinaOAuth2 是 DotNetOpenAuth的OSChina登陆扩展。
安装:
1.通过 NuGut 安装
PM> Install-Package DotNetOpenAuth.OSChinaOAuth2
2.下载源码编译安装
用例:
var client = new OSChinaOAuth2("yourClientId", "yourClientSecret");
OAuthWebSecurity.RegisterClient(client, "OSChina");
评论