{"id":24973062,"url":"https://github.com/myvas/aspnetcore.authentication.qqconnect","last_synced_at":"2025-06-11T09:32:25.280Z","repository":{"id":97838166,"uuid":"177914649","full_name":"myvas/AspNetCore.Authentication.QQConnect","owner":"myvas","description":"An ASP.NET Core authentication middleware: QQConnect for https://connect.qq.com (腾讯QQ互联平台/QQ登录）","archived":false,"fork":false,"pushed_at":"2025-03-24T06:18:13.000Z","size":2598,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T05:08:52.669Z","etag":null,"topics":["aspnetcore","authentication","authentication-middleware","login","middleware","myvas","nuget","qq","qqconnect","tencent"],"latest_commit_sha":null,"homepage":"http://demo.auth.myvas.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myvas.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-27T03:54:32.000Z","updated_at":"2025-03-24T06:18:11.000Z","dependencies_parsed_at":"2025-02-02T10:23:17.071Z","dependency_job_id":"24d0fe62-2b6f-4acf-9178-6a2987a7e80a","html_url":"https://github.com/myvas/AspNetCore.Authentication.QQConnect","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FAspNetCore.Authentication.QQConnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FAspNetCore.Authentication.QQConnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FAspNetCore.Authentication.QQConnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FAspNetCore.Authentication.QQConnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myvas","download_url":"https://codeload.github.com/myvas/AspNetCore.Authentication.QQConnect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FAspNetCore.Authentication.QQConnect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259238975,"owners_count":22826835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnetcore","authentication","authentication-middleware","login","middleware","myvas","nuget","qq","qqconnect","tencent"],"created_at":"2025-02-03T18:26:17.974Z","updated_at":"2025-06-11T09:32:25.254Z","avatar_url":"https://github.com/myvas.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Myvas.AspNetCore.Authentication Family\r\n\r\n* QQConnect: _this repo_\r\n\r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.Authentication.QQConnect?label=github)](https://github.com/myvas/AspNetCore.Authentication.QQConnect)\r\n[![test](https://github.com/myvas/AspNetCore.Authentication.QQConnect/actions/workflows/test.yml/badge.svg)](https://github.com/myvas/AspNetCore.Authentication.QQConnect/actions/workflows/test.yml)\r\n[![deploy](https://github.com/myvas/AspNetCore.Authentication.QQConnect/actions/workflows/publish.yml/badge.svg)](https://github.com/myvas/AspNetCore.Authentication.QQConnect/actions/workflows/publish.yml)\r\n[![NuGet](https://img.shields.io/nuget/v/Myvas.AspNetCore.Authentication.QQConnect.svg)](https://www.nuget.org/packages/Myvas.AspNetCore.Authentication.QQConnect)\r\n\r\n* WeixinOpen: [Here](https://github.com/myvas/AspNetCore.Authentication.WeixinOpen)\r\n\r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.Authentication.WeixinOpen?label=github)](https://github.com/myvas/AspNetCore.Authentication.WeixinOpen)\r\n[![test](https://github.com/myvas/AspNetCore.Authentication.WeixinOpen/actions/workflows/test.yml/badge.svg)](https://github.com/myvas/AspNetCore.Authentication.WeixinOpen/actions/workflows/test.yml)\r\n[![deploy](https://github.com/myvas/AspNetCore.Authentication.WeixinOpen/actions/workflows/publish.yml/badge.svg)](https://github.com/myvas/AspNetCore.Authentication.WeixinOpen/actions/workflows/publish.yml)\r\n[![NuGet](https://img.shields.io/nuget/v/Myvas.AspNetCore.Authentication.WeixinOpen.svg)](https://www.nuget.org/packages/Myvas.AspNetCore.Authentication.WeixinOpen)\r\n\r\n* WeixinAuth: [Here](https://github.com/myvas/AspNetCore.Authentication.WeixinAuth)\r\n\r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.Authentication.WeixinAuth?label=github)](https://github.com/myvas/AspNetCore.Authentication.WeixinAuth)\r\n[![test](https://github.com/myvas/AspNetCore.Authentication.WeixinAuth/actions/workflows/test.yml/badge.svg)](https://github.com/myvas/AspNetCore.Authentication.WeixinAuth/actions/workflows/test.yml)\r\n[![deploy](https://github.com/myvas/AspNetCore.Authentication.WeixinAuth/actions/workflows/publish.yml/badge.svg)](https://github.com/myvas/AspNetCore.Authentication.WeixinAuth/actions/workflows/publish.yml)\r\n[![NuGet](https://img.shields.io/nuget/v/Myvas.AspNetCore.Authentication.WeixinAuth.svg)](https://www.nuget.org/packages/Myvas.AspNetCore.Authentication.WeixinAuth)\r\n\r\n# What's this?\r\nAn ASP.NET Core authentication middleware for https://connect.qq.com (腾讯QQ互联平台/QQ登录）  \r\n* 须腾讯QQ互联平台（connect.qq.com）账号。\r\n* 用户可通过点击“QQ登录”图标按钮一键登入网站，或使用手机QQ程序扫码登入网站，当然，也可以输入QQ账号密码登入网站。\r\n\r\n# How to Use?\r\n## 0.Create account\r\n在腾讯QQ互联平台(https://connect.qq.com)上创建应用（网站应用，移动应用），并指定网站回调地址（例如：https://www.myvas.com/signin-qqconnect)，记下AppId和AppKey。  \r\n\r\n## 1.nuget\r\n* [Myvas.AspnetCore.Authentication.QQConnect](https://www.nuget.org/packages/Myvas.AspNetCore.Authentication.QQConnect) \r\n\r\n## 2.Configure\r\n```csharp\r\n    app.UseAuthentication();\r\n```\r\n\r\n## 3.ConfigureServices\r\n```csharp\r\nservices.AddAuthentication()\r\n    // using Myvas.AspNetCore.Authentication;\r\n    .AddQQConnect(options =\u003e \r\n    {\r\n        options.AppId = Configuration[\"QQConnect:AppId\"];\r\n        options.AppKey = Configuration[\"QQConnect:AppKey\"];\r\n\r\n        options.CallbackPath = \"/signin-qqconnect\"; //default\r\n\r\n        QQConnectScopes.TryAdd(options.Scope,\r\n            QQConnectScopes.get_user_info,\r\n            QQConnectScopes.list_album, //需要额外开通权限，暂未实现\r\n            QQConnectScopes.upload_pic, //需要额外开通权限，暂未实现\r\n            QQConnectScopes.do_like); //需要额外开通权限，暂未实现\r\n    };\r\n```\r\n\r\n# Dev\r\n* [Visual Studio 2022](https://visualstudio.microsoft.com)\r\n* [.NET 9.0, 8.0, 7.0, 6.0, 5.0, 3.1](https://dotnet.microsoft.com/en-us/download/dotnet)\r\n* [微信开发者工具](https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/download.html)\r\n\r\n# Demo Online\r\n* [Here](https://demo.auth.myvas.com)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyvas%2Faspnetcore.authentication.qqconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyvas%2Faspnetcore.authentication.qqconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyvas%2Faspnetcore.authentication.qqconnect/lists"}