【文件属性】:
文件名称:spring-boot-security-oauth2-example:使用Spring Security OAuth2保护REST API
文件大小:732KB
文件格式:ZIP
更新时间:2021-05-24 04:43:29
Java
Spring Boot Security OAuth示例
使用Spring Security OAuth2保护REST API
要运行此仓库,请遵循以下命令:
将此命令粘贴到您的终端
mvn clean spring-boot:run
启动POSTMAN生成令牌
无令牌访问
使用令牌访问资源
【文件预览】:
spring-boot-security-oauth2-example-master
----.gitignore(110B)
----src()
--------main()
----Spring Boot Security OAuth Example.postman_collection.json(3KB)
----pom.xml(2KB)
----README.md(619B)
----img()
--------auth.png(135KB)
--------oauth.png(219KB)
--------body.png(177KB)
--------header.png(124KB)
--------noauth.png(166KB)