This commit is contained in:
shimingxy
2020-03-12 14:53:12 +08:00
parent 1fa70a17b6
commit 7e6f2265c3
2 changed files with 34 additions and 1 deletions

View File

@@ -427,3 +427,19 @@ OAuth2.0错误响应中的错误码定义如下表所示:
</tr>
</tbody>
</table>
<h2>OAuth2客户端集成</h2>
本文使用JAVA WEB程序为例
jar包依赖如下
https://github.com/shimingxy/MaxKey-Demo/tree/master/maxkey-demo-oauth/lib
认证跳转
https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oauth20index.jsp
获取令牌及用户信息
https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oauth20callback.jsp

View File

@@ -88,4 +88,21 @@ OAuth认证接口属性列表
</tr>
</table>
其他请参照OAuth2
其他请参照OAuth2
<h2>OAuth2客户端集成</h2>
本文使用JAVA WEB程序为例
jar包依赖如下
https://github.com/shimingxy/MaxKey-Demo/tree/master/maxkey-demo-oauth/lib
认证跳转
https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oauth20index.jsp
获取令牌和用户信息及验证签名
https://github.com/shimingxy/MaxKey-Demo/blob/master/maxkey-demo-oauth/src/main/webapp/oidc10callback.jsp