mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-15 04:52:09 +08:00
u
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user