| ... | ... | @@ -7,7 +7,6 @@ |
|
|
|
```
|
|
|
|
POST /oauth/v2/userinfo HTTP/1.1
|
|
|
|
Host: ${domain}
|
|
|
|
Content-Length: 96
|
|
|
|
Authorization: Bearer ${token}
|
|
|
|
```
|
|
|
|
|
| ... | ... | @@ -26,4 +25,24 @@ |
|
|
|
"sub": "6aeca60613e949f0a16e721faf9f1082"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
> 参数说明[参考](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims) |
|
|
\ No newline at end of file |
|
|
|
> 参数说明[参考](https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims)
|
|
|
|
|
|
|
|
# 修改密码
|
|
|
|
|
|
|
|
1. 请求/forgot
|
|
|
|
|
|
|
|
```
|
|
|
|
POST /oauth/v2/forgot HTTP/1.1
|
|
|
|
Host: ${domain}
|
|
|
|
Authorization: Bearer ${token}
|
|
|
|
|
|
|
|
{"password":"123456"}
|
|
|
|
```
|
|
|
|
|
|
|
|
> 使用授权的到的token
|
|
|
|
|
|
|
|
1. 响应
|
|
|
|
|
|
|
|
```
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
``` |
|
|
\ No newline at end of file |