Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xuxiaowei-com-cn/spring-boot-starter-weibo
支持 OAuth 2.1 JWT 授权的微博weibo开发组件
https://github.com/xuxiaowei-com-cn/spring-boot-starter-weibo
Last synced: 5 days ago
JSON representation
支持 OAuth 2.1 JWT 授权的微博weibo开发组件
- Host: GitHub
- URL: https://github.com/xuxiaowei-com-cn/spring-boot-starter-weibo
- Owner: xuxiaowei-com-cn
- License: apache-2.0
- Created: 2022-10-12T01:17:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T13:48:17.000Z (3 months ago)
- Last Synced: 2024-08-27T15:16:54.021Z (3 months ago)
- Language: Java
- Homepage:
- Size: 415 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
为简化开发工作、提高生产率、解决常见问题而生## 分支
- main
- 支持 JDK 8、11
- next
- 支持 JDK 17## [使用文档](https://www.yuque.com/xuxiaowei-com-cn/xuxiaowei-cloud/third-party-login)
## 其他 [Spring Boot Starter 项目](https://gitee.com/xuxiaowei-com-cn/spring-boot-starter)
## 发布
- [快照版](https://s01.oss.sonatype.org/content/repositories/snapshots/cn/com/xuxiaowei/boot/spring-boot-starter-weibo)
- [发布版](https://s01.oss.sonatype.org/content/repositories/releases/cn/com/xuxiaowei/boot/spring-boot-starter-weibo)## [更新日志](CHANGELOG.md)
## [代码格式规范 spring-javaformat](https://github.com/spring-io/spring-javaformat)
- IntelliJ IDEA
-
项目添加 [io.spring.javaformat:spring-javaformat-maven-plugin](https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-maven-plugin)
依赖之后,可安装自动格式化插件(无需运行下列命令):[spring-javaformat-intellij-idea-plugin](https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin)```shell
./mvnw spring-javaformat:apply
```
或
```shell
mvn spring-javaformat:apply
```## [示例项目](https://gitee.com/xuxiaowei-com-cn/weibo-example)
## 批量添加远端仓库地址
点击展开
git remote add gitee https://gitee.com/xuxiaowei-com-cn/spring-boot-starter-weibo.gitgit remote add gitlab https://gitlab.com/xuxiaowei-com-cn/spring-boot-starter-weibo.git
git remote add framagit https://framagit.org/xuxiaowei-com-cn/spring-boot-starter-weibo.git
git remote add github https://github.com/xuxiaowei-com-cn/spring-boot-starter-weibo.git
git remote add gitcode https://gitcode.net/xuxiaowei-com-cn/spring-boot-starter-weibo.git
git remote add gitlink https://gitlink.org.cn/xuxiaowei-com-cn/spring-boot-starter-weibo.git
## 参考文档
- [授权机制](https://open.weibo.com/wiki/%E6%8E%88%E6%9D%83%E6%9C%BA%E5%88%B6)
- [OAuth2 授权第一步 authorize 接口,请求用户授权code](https://open.weibo.com/wiki/Oauth2/authorize)
- [OAuth2 授权第二步 access_token 接口,用 code 换取授权 access_token,该步需在服务端完成](https://open.weibo.com/wiki/Oauth2/access_token)
- [查询用户access_token的授权相关信息,包括授权时间,过期时间和scope权限。](https://open.weibo.com/wiki/Oauth2/get_token_info)
- [授权回收接口,帮助开发者主动取消用户的授权。](https://open.weibo.com/wiki/Oauth2/revokeoauth2)
- [用于OAuth1.0 access token 更换至 OAuth2.0 access token,帮助开发者使用新版接口和OAuth2.0时平滑迁移用户。](https://open.weibo.com/wiki/Oauth2/get_oauth2_token)
- [微博API](https://open.weibo.com/wiki/%E5%BE%AE%E5%8D%9AAPI)## 鸣谢
1. 感谢 [![jetbrains](./static/jetbrains.ico)](https://www.jetbrains.com/)
提供开发工具 [![IDEA](./static/idea.png)](https://www.jetbrains.com/idea) 的免费授权## Stargazers over time
[![Stargazers over time](https://starchart.cc/xuxiaowei-com-cn/spring-boot-starter-weibo.svg)](https://starchart.cc/xuxiaowei-com-cn/spring-boot-starter-weibo)