Debian Codegraph @

tests/cassettes/DeviceIDAuthorizer_refresh__with_scopes.json

raw symbols SCIP
1 {
2 "http_interactions": [
3 {
4 "recorded_at": "2021-06-25T11:21:08",
5 "request": {
6 "body": {
7 "encoding": "utf-8",
8 "string": "device_id=DO_NOT_TRACK_THIS_DEVICE&grant_type=https%3A%2F%2Foauth.reddit.com%2Fgrants%2Finstalled_client&scope=adsedit+adsread+creddits+history"
9 },
10 "headers": {
11 "Accept": [
12 "*/*"
13 ],
14 "Accept-Encoding": [
15 "gzip, deflate"
16 ],
17 "Authorization": [
18 "Basic <BASIC_AUTH>"
19 ],
20 "Connection": [
21 "close"
22 ],
23 "Content-Length": [
24 "143"
25 ],
26 "Content-Type": [
27 "application/x-www-form-urlencoded"
28 ],
29 "Cookie": [
30 "edgebucket=xabc3mKo7opLvCrF2B"
31 ],
32 "User-Agent": [
33 "prawcore:test (by /u/bboe) prawcore/2.2.0"
34 ]
35 },
36 "method": "POST",
37 "uri": "https://www.reddit.com/api/v1/access_token"
38 },
39 "response": {
40 "body": {
41 "encoding": "UTF-8",
42 "string": "{\"access_token\": \"-000000000000000000000000000000\", \"token_type\": \"bearer\", \"device_id\": \"DO_NOT_TRACK_THIS_DEVICE\", \"expires_in\": 3600, \"scope\": \"adsedit adsread creddits history\"}"
43 },
44 "headers": {
45 "Accept-Ranges": [
46 "bytes"
47 ],
48 "Connection": [
49 "close"
50 ],
51 "Content-Length": [
52 "181"
53 ],
54 "Content-Type": [
55 "application/json; charset=UTF-8"
56 ],
57 "Date": [
58 "Fri, 25 Jun 2021 11:21:09 GMT"
59 ],
60 "Server": [
61 "snooserv"
62 ],
63 "Strict-Transport-Security": [
64 "max-age=15552000; includeSubDomains; preload"
65 ],
66 "Via": [
67 "1.1 varnish"
68 ],
69 "X-Clacks-Overhead": [
70 "GNU Terry Pratchett"
71 ],
72 "X-Moose": [
73 "majestic"
74 ],
75 "cache-control": [
76 "max-age=0, must-revalidate"
77 ],
78 "x-content-type-options": [
79 "nosniff"
80 ],
81 "x-frame-options": [
82 "SAMEORIGIN"
83 ],
84 "x-ratelimit-remaining": [
85 "299"
86 ],
87 "x-ratelimit-reset": [
88 "531"
89 ],
90 "x-ratelimit-used": [
91 "1"
92 ],
93 "x-reddit-loid": [
94 "0000000000cxgu11le.2.1624620069713.Z0FBQUFBQmcxYndseVQ0QzNwTHE4aWtDQmNpTEktZmFFQ19qVjBnc0JDcDVYbDdTaUc0eDU2dGxjWil5MHRnWE5YeUFlNDRWS3BDaDZjV3h3ckRJWWgwVWFjWnNqMzJWbUxEdEZDMVVzRlBUQ2lMcFwMTk1FTU94aXNGeUFuUfQ0UFllR3ZfaUZTZWw"
95 ],
96 "x-xss-protection": [
97 "1; mode=block"
98 ]
99 },
100 "status": {
101 "code": 200,
102 "message": "OK"
103 },
104 "url": "https://www.reddit.com/api/v1/access_token"
105 }
106 }
107 ],
108 "recorded_with": "betamax/0.8.1"
109 }