springboot-oauth2:Spring Boot Oauth2.0

时间:2021-05-17 03:32:12
【文件属性】:
文件名称:springboot-oauth2:Spring Boot Oauth2.0
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-17 03:32:12
Java springboot-oauth2 Spring Boot Oauth2.0 测试 1.运行工程 2.无token时,访问接口: POST 接口响应: { "error": "unauthorized", "error_description": "Full authentication is required to access this resource" } 3.获取token POST: Headers: Authorization : Basic dGVzdDoxMjM0NTY= form-data: grant_type : password username : test-user2 password : 123452 响应: { "access_token": "7f787f49-c78f-4d6c-9292-e6992b292ec0", "
【文件预览】:
springboot-oauth2-master
----.gitignore(284B)
----settings.gradle(34B)
----build.gradle(850B)
----src()
--------main()
--------test()
----LICENSE(1KB)
----README.md(913B)

网友评论