Skip to content
OAuth2 authentication middleware for ASP.NET 4.5
C#
Branch: master
Clone or download
Pull request Compare This branch is 3 commits behind fanwentao:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples/OAuth2.0ProvidersDemo
src
.gitattributes
.gitignore
AspNet.Security.OAuth.Providers.sln
README.md

README.md

OAuth2.0 基于OWIN外部登录中间件实现

项目代码结构和基础实现源自 Katana 项目,我只做了一点微小的工作,更多细节请查看项目 源代码.

NuGet

入门

配置外部登录应用 ClientIdClientSecret 值,并添加如下代码到 Startup class:

app.UseWeChatAuthentication(
    appId:"******",
    appSecret:"******"
);
app.UseWeiboAuthentication(
    clientId:"******",
    clientSecret:"******"
);
app.UseTencentAuthentication(
    appId:"******",
    appKey:"******"
);

联系我

如果有任何问题,欢迎给我发邮件,期待你的来信.

雨夜 : a421295298@hotmail.com

You can’t perform that action at this time.