TokenType 指定方式细节重构

This commit is contained in:
click33
2024-08-24 04:14:12 +08:00
parent 2d13e908b1
commit 06b06cdb5e
8 changed files with 57 additions and 9 deletions

View File

@@ -233,6 +233,11 @@ http://{host}:{port}/oauth2/userinfo?access_token={access_token}
}
```
除了直接在 url 中以 query 参数方式提交 `access_token`,你也可以在 `Authorization` 请求头以 `Bearer Token` 方式提交:
``` js
header['Authorization'] = 'Bearer access_token';
```
## 2、模式二隐藏式Implicit