This is an open source project for a complete Spring-oauth-server client-based test case.
Through this project you will clearly understand the usage scenarios and invocation processes of OAuth's various grant_type.
OAuth supports the following grant_type:
1.authorization_code Authorization code mode (i.e. login to get code, then get token)
2.password password mode (user name, password passed, direct access to token)
3.refresh_token Refresh Token
4.implicit Simplified mode (token is passed in Redirect_uri's hash; Auth client runs in the browser, such as Js,flash)
5.client_credentials Client mode (no user, user registers with client, then client gets resources on its own behalf to ' server ')
Project Address: Http://git.oschina.net/mkk/spring-oauth-client
At the same time, you can also focus on the blog related to the project
Http://andaily.com/blog/?cat=19
We will keep updating the related articles of OAuth.
Hope to help you learn spring OAuth!
Spring-oauth-client