Owin.Security NuGet Package

添加微信登录

- 微信
// 配置
app.UseWeixinAuthentication(new WeiXinAuthenticationOptions{
AppId = "[you appId]",
AppSecret = "[you app Secret]"
});

// 获取微信登录者信息
var weixinInfo = await AuthenticationManager.GetExternalWeiXinLoginInfoAsync();

- 微信公众号
// 配置
app.UseWeixinAuthentication(new WeiXinMPAuthenticationOptions{
AppId = "[you appId]",
AppSecret = "[you app Secret]"
});

// 获取微信登录者信息
var weixinInfo = await AuthenticationManager.GetExternalWeiXinLoginInfoAsync();.




Got any Owin.Security Question?





Info

Version: 1.0.0.4
Author(s): 曹明杰
Last Update: Saturday, April 1, 2017
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Cmj.Owin.Security


Install
Install-Package Cmj.Owin.Security
dotnet add package Cmj.Owin.Security
paket add Cmj.Owin.Security
Cmj.Owin.Security Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

2583