1.1获取code码
http://127.0.0.1:9091/oauth/authorize?response_type=code&client_id=client1
1.2用code模式获取token
http://127.0.0.1:9091/oauth/token?client_id=client1&client_secret=123&grant_type=authorization_code&code=MnPDgC
2.简化授权码模式
http://localhost:8080/oauth/authorize?response_type=token&client_id=banana&redirect_uri=http://baidu.com
http://127.0.0.1:9091/oauth/authorize?response_type=token&client_id=client1
3.password模式获取token
http://127.0.0.1:9091/oauth/token?client_id=client1&client_secret=123&grant_type=password&username=admin&password=123
4.code模式获取token
http://127.0.0.1:9091/oauth/token?client_id=client1&client_secret=123&grant_type=authorization_code&code=MnPDgC