{"id":13714034,"url":"https://github.com/leo0o/simpleoauth","last_synced_at":"2026-01-12T13:11:56.037Z","repository":{"id":144311079,"uuid":"107661959","full_name":"leo0o/simpleoauth","owner":"leo0o","description":"Golang实现几大主流平台的oauth2.0认证（目前仅支持QQ，微信，微博）","archived":false,"fork":false,"pushed_at":"2017-11-10T07:30:44.000Z","size":17,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T23:29:32.521Z","etag":null,"topics":["go","golang","oauth2","qq","wechat"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leo0o.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-10-20T09:55:55.000Z","updated_at":"2024-07-27T15:10:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"90472644-f0cd-43e1-a97d-61b5eaf5f765","html_url":"https://github.com/leo0o/simpleoauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo0o%2Fsimpleoauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo0o%2Fsimpleoauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo0o%2Fsimpleoauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo0o%2Fsimpleoauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leo0o","download_url":"https://codeload.github.com/leo0o/simpleoauth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224551131,"owners_count":17330079,"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":["go","golang","oauth2","qq","wechat"],"created_at":"2024-08-02T23:01:50.447Z","updated_at":"2026-01-12T13:11:56.027Z","avatar_url":"https://github.com/leo0o.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# simpleoauth\n\nGolang实现几大主流平台的oauth2.0认证（目前仅支持QQ，微信，微博）\n\n使用方法：\n在config.go中配置好相关信息后\n\n    package main\n\n     import (\n     \t\"fmt\"\n     \t\"simpleoauth\"\n     )\n\n     func main() {\n     \tm, _ := simpleoauth.NewManager(\"qq\")\n     \tresult := m.Authorize(\"此处填入认证通过后，第三方平台跳转带回来的CODE\")\n     \tfmt.Println(result)\n     }\n     \n返回结果为：\n\n    type AuthorizeResult struct{\n        Result bool                         //认证成功或失败\n        Userinfo map[string]interface{}     //返回用户信息等基本资料\n    }","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleo0o%2Fsimpleoauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleo0o%2Fsimpleoauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleo0o%2Fsimpleoauth/lists"}