summaryrefslogtreecommitdiff
path: root/gdata/tests/traces/tasks/global-authentication
blob: 8c27cf6976b96569815b0b0210be7dcfdd0e819f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
> POST /o/oauth2/token HTTP/1.1
> Soup-Debug-Timestamp: 1411311975
> Soup-Debug: SoupSession 1 (0xcfb110), SoupMessage 1 (0xff20a0), SoupSocket 1 (0x103a0d0)
> Host: accounts.google.com
> Content-Type: application/x-www-form-urlencoded
> Accept-Encoding: gzip, deflate
> User-Agent: libgdata/0.17.0 - gzip
> Connection: Keep-Alive
> 
> client_id=352818697630-nqu2cmt5quqd6lr17ouoqmb684u84l1f.apps.googleusercontent.com&client_secret=-fA4pHQJxR3zJ-FyAMPQsikg&code=4%2FhmXZtrXmXMqK1hwiWPZs9F_N6DK-.Ap4OICAUIe0WoiIBeO6P2m8IDoMxkQI&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1411311975
< Soup-Debug: SoupMessage 1 (0xff20a0)
< Content-Type: application/json; charset=utf-8
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Date: Sun, 21 Sep 2014 15:06:15 GMT
< Content-Disposition: attachment; filename="json.txt"; filename*=UTF-8''json.txt
< Content-Encoding: gzip
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Alternate-Protocol: 443:quic,p=0.002
< Transfer-Encoding: chunked
< 
< {
<   "access_token" : "ya29.hwBmb1VipGbRU4lS3f_ArcJ5AOMHpxH7USM_aSAwW9eA2csUF3cAbLzU",
<   "token_type" : "Bearer",
<   "expires_in" : 3600,
<   "refresh_token" : "1/pdQzbl1uTCsnztMYVypgAH-ldUeZV2n7S6GDq6-tYF8"
< }