summaryrefslogtreecommitdiff
path: root/gdata/tests/traces/tasks/authentication
blob: 3abfeccff62c4a832c5fbd36b876903eb351e6f1 (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: 1411305313
> Soup-Debug: SoupSession 1 (0x25fd370), SoupMessage 1 (0x28e5190), SoupSocket 1 (0x28bcb40)
> 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%2FOEX-S1iMbOA_dOnNgUlSYmGWh3TK.QrR73axcNMkWoiIBeO6P2m_su7cwkQI&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1411305313
< Soup-Debug: SoupMessage 1 (0x28e5190)
< 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 13:15:13 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.hwAB1qOhYEtLzMrP_BObQQoQ8rgDq7GWWSCI47bXVrLBS3zpFKRlDx-C",
<   "token_type" : "Bearer",
<   "expires_in" : 3600,
<   "refresh_token" : "1/B7GfeRCYkkDmZF6KdjLR3OW7nlAjz1LIeJGg_mhludc"
< }