This action will force synchronization from monkeyk7/spring-oauth-client, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
#spring-oauth-client
项目用Maven管理
使用的技术与版本号
如何使用?
前提: 在使用之前必须保证 spring-oauth-server 项目已正常运行.
spring-oauth-client.properties
(位于src/main/resources目录)中的配置信息(主要包括与spring-oauth-server的连接地址)
若在Android中使用, 可查看示例代码 AndroidClientTest.java
(位于 src/master/src /test /java /com/andaily/springoauth/client/目录).
里面包括获取 access_token 与 调用API的示例.
spring-oauth-client 的实现没有使用开源项目 spring-security-oauth2 中提供的代码与配置, 如:<oauth:client
id="oauth2ClientFilter" />
而是按照Oauth2协议支持的5类grant_type依次去实现.
authorization_code
-- 授权码模式(即先登录获取code,再获取token)password
-- 密码模式(将用户名,密码传过去,直接获取token)client_credentials
-- 客户端模式(无用户,用户向客户端注册,然后客户端以自己的名义向'服务端'获取资源)implicit
-- 简化模式(在redirect_uri 的Hash传递token; Auth客户端运行在浏览器中,如JS,Flash)refresh_token
-- 刷新access_token</p>
项目的开发管理使用开源项目 andaily-developer.
项目日志
2015-03-17 项目创建
2015-06-02 V-0.1版本发布
2015-11-16 添加在线测试, 访问地址 http://andaily.com/spring-oauth-client/
2018-04-16 V-1.0发布; 开始V-1.1,增加对OIDC协议支持
参考资源
以下是在开发与学习过程中参考的Oauth资源,总结下来方便学习回顾.
问答与讨论
与项目相关的,与Oauth相关的问题与回答,以及各类讨论请访问
http://andaily.com/blog/?dwqa-question_category=oauth
关注更多我的开源项目请访问 http://andaily.com/my_projects.html
若需更多的技术支持请联系 monkeyk@shengzhaoli.com
Sign in for post a comment
Comments ( 0 )