
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
eoh.oauth.extensions
Advanced tools
第三方 OAuth2 授权登录,QQ、微信开放平台(Weixin)、微信公众平台(WeixinMP)、微博(Weibo)、淘宝(Taobao)、支付宝(Alipay)、钉钉(DingTalk)、飞书(Feishu)、码云(Gitee)、GitHub、微软(Microsoft )、StackOverflow、谷歌(Google)
Install-Package EOH.OAuth.Extensions
三方 | 参考文档 | 应用申请 |
---|---|---|
参考文档 | 应用申请 | |
微信开放平台(WeixinOpen) | 参考文档 | 应用申请 |
微信公众平台(WeixinMP) | 参考文档 | 应用申请 |
微博(Weibo) | 参考文档 | 应用申请 |
淘宝(Taobao) | 参考文档 | 应用申请 |
支付宝(Alipay) | 参考文档 | 应用申请 |
钉钉(DingTalk) | 参考文档 | 应用申请 |
飞书(Feishu) | 参考文档 | 应用申请 |
码云(Gitee) | 参考文档 | 应用申请 |
GitHub | 参考文档 | 应用申请 |
微软(Microsoft) | 参考文档 | 应用申请 |
Stack Overflow | 参考文档 | 应用申请 |
谷歌(Google) | 参考文档 | 应用申请 |
//获取三方登录授权地址
var service = new OAuthLoginService(httpClientFactory, options);
service.OptionsFuncCall = (OAuthType type) => type switch
{
OAuthType.WeixinMP => new OAuthOptions
{
AppId = "AppId",
AppKey = "AppKey",
RedirectUri = "RedirectUri",
Scope = "snsapi_login"
}.ToJson(),
OAuthType.WeixinOpen => new OAuthOptions
{
AppId = "AppId",
AppKey = "AppKey",
RedirectUri = "RedirectUri",
Scope = "snsapi_login"
}.ToJson(),
_ => string.Empty
};
service.InitConfig(OAuthType.WeixinOpen);
var url = service.GetAuthorizeUrl(OAuthType.WeixinOpen, "state");
//获取三方登录用户信息
var user = await service.AuthorizeCallback(OAuthType.WeixinOpen, "code", "state");
FAQs
Unknown package
We found that eoh.oauth.extensions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.