From 1bb2dc40cfb83c36cb66e5c2c29283941b1b891b Mon Sep 17 00:00:00 2001 From: lishengzhao Date: Thu, 13 Nov 2014 14:28:10 +0800 Subject: [PATCH] =?UTF-8?q?Add=20=E8=8E=B7=E5=8F=96access=5Ftoken=E5=90=8E?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- others/oauth_test.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/others/oauth_test.txt b/others/oauth_test.txt index 76c09e9..d0b2d0c 100644 --- a/others/oauth_test.txt +++ b/others/oauth_test.txt @@ -10,3 +10,7 @@ http://localhost:8080/oauth/token?client_id=unity-client&client_secret=unity&gra 返回的数据 {"access_token":"3420d0e0-ed77-45e1-8370-2b55af0a62e8","token_type":"bearer","refresh_token":"b36f4978-a172-4aa8-af89-60f58abe3ba1","expires_in":43199,"scope":"read write"} + +获取access_token后访问资源 +http://localhost:8080/unity/dashboard.htm?access_token=3420d0e0-ed77-45e1-8370-2b55af0a62e8 +