惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
D
DataBreaches.Net
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
Y
Y Combinator Blog
博客园 - 【当耐特】
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
量子位
C
Check Point Blog
F
Fortinet All Blogs
罗磊的独立博客
Last Week in AI
Last Week in AI
GbyAI
GbyAI
L
LangChain Blog
博客园 - 司徒正美

博客园 - xiaobin80

Development Environment Preparation Clang IDE的选择在Windows Visual Studio 2017 and Fx EOL 跟我学python(5)- 匹配数字 跟我学python(4)- 正则 跟我学python(3)--- 带shell功能的hello world 跟我学python(2)- 第一个程序 跟我学python --- 搭建开发平台 Debian server 安装 debian 与 ubuntu 之 - sudo Try Value 计算文件CRC32数值 docker ce on Debian 使用hugo在gitee上写blog spring cloud gateway - RequestRateLimiter 改进的冒泡算法 Create User - mysql COM调用 – VB、PB J-Link clone问题 修复山寨版的J-Link
postman使用
xiaobin80 · 2018-04-13 · via 博客园 - xiaobin80

1: Get Token

1) Basic Auth
(AuthorizationServerConfig.java)
Username: devglan-client
passoword: devglan-secret
2) grant info
(x-www-formurlencoded)
row1: username, Alex123
row2: password, password
row3: grant_type, password
3) run
url: http://localhost:8080/oauth/token
method: post

2: Access Token
Use the information obtained from the above.

1) run
url: http://localhost:8080/users/user?access_token=XXX
method: get

XXX: access_token value; For example: f9810f62-b775-4c2e-b4e2-a0b033699f2b.

3: Refresh Token
Same as 1.Just change the grant information.
1) Basic Auth
Omitted...
2) grant info
(x-www-formurlencoded)
row1: username, Alex123
row2: password, password
row3: grant_type, refresh_token
row4: refresh_token, XXX

XXX: refresh_token value; For example: 7ebc4c7e-58b1-4322-baa6-f6e468cef034.
3) run
Omitted...