EOH.OAuth
0.1.2024.509-beta1408
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
This is a prerelease version of EOH.OAuth.
dotnet add package EOH.OAuth --version 0.1.2024.509-beta1408
NuGet\Install-Package EOH.OAuth -Version 0.1.2024.509-beta1408
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EOH.OAuth" Version="0.1.2024.509-beta1408" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EOH.OAuth --version 0.1.2024.509-beta1408
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EOH.OAuth, 0.1.2024.509-beta1408"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EOH.OAuth as a Cake Addin #addin nuget:?package=EOH.OAuth&version=0.1.2024.509-beta1408&prerelease // Install EOH.OAuth as a Cake Tool #tool nuget:?package=EOH.OAuth&version=0.1.2024.509-beta1408&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EOH.OAuth
第三方 OAuth2 授权登录,QQ、微信开放平台(Weixin)、微信公众平台(WeixinMP)、微博(Weibo)、淘宝(Taobao)、支付宝(Alipay)、钉钉(DingTalk)、飞书(Feishu)、码云(Gitee)、GitHub、微软(Microsoft )、StackOverflow、谷歌(Google)
安装 (NuGet)
Install-Package EOH.OAuth.Extensions
Install-Package EOH.OAuth
支持第三方登录
三方 | 参考文档 | 应用申请 |
---|---|---|
参考文档 | 应用申请 | |
微信开放平台(WeixinOpen) | 参考文档 | 应用申请 |
微信公众平台(WeixinMP) | 参考文档 | 应用申请 |
微博(Weibo) | 参考文档 | 应用申请 |
淘宝(Taobao) | 参考文档 | 应用申请 |
支付宝(Alipay) | 参考文档 | 应用申请 |
钉钉(DingTalk) | 参考文档 | 应用申请 |
飞书(Feishu) | 参考文档 | 应用申请 |
码云(Gitee) | 参考文档 | 应用申请 |
GitHub | 参考文档 | 应用申请 |
微软(Microsoft) | 参考文档 | 应用申请 |
Stack Overflow | 参考文档 | 应用申请 |
谷歌(Google) | 参考文档 | 应用申请 |
功能
- 微信开放平台(WeixinOpen)
- 微信公众平台(WeixinMP)
- 微博(Weibo)
- 淘宝(Taobao)
- 支付宝(Alipay)
- 钉钉(DingTalk)
- 飞书(Feishu)
- 码云(Gitee)
- GitHub
- 微软(Microsoft)
- Stack Overflow
- 谷歌(Google)
变更
- 2024.05.07
- 完成
微信开放平台(WeixinOpen)
相关代码
- 完成
使用
//获取三方登录授权地址
var service = new WeixinOpenOAuthService(httpClientFactory, options);
var url = service.GetAuthorizeUrl("state");
//获取三方登录用户信息
var user = await service.AuthorizeCallback("code", "state");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
-
net5.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
-
net6.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
-
net7.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
-
net8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EOH.OAuth:
Package | Downloads |
---|---|
EOH.OAuth.Extensions
EOH.OAuth.Extensions三方 OAuth2扩展库,便于依赖注入 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.2024.509-beta1408 | 99 | 5/9/2024 |
0.1.2024.509-beta1233 | 62 | 5/9/2024 |
0.1.2024.509-beta1202 | 57 | 5/9/2024 |
0.1.2024.509-beta1148 | 59 | 5/9/2024 |
0.1.2024.507-beta1338 | 84 | 5/7/2024 |
0.1.2024.507-beta0958 | 68 | 5/7/2024 |
QQ登录;钉钉登录;微信开放平台登录;支付宝登录;淘宝登录;飞书登录;