OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/plus.login": { | 5 "https://www.googleapis.com/auth/plus.login": { |
6 "description": "Know your basic profile info and list of peo
ple in your circles." | 6 "description": "Know your basic profile info and list of peo
ple in your circles." |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/plus.me": { | 8 "https://www.googleapis.com/auth/plus.me": { |
9 "description": "Know who you are on Google" | 9 "description": "Know who you are on Google" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/userinfo.email": { | 11 "https://www.googleapis.com/auth/userinfo.email": { |
12 "description": "View your email address" | 12 "description": "View your email address" |
13 }, | 13 }, |
14 "https://www.googleapis.com/auth/userinfo.profile": { | 14 "https://www.googleapis.com/auth/userinfo.profile": { |
15 "description": "View your basic profile info" | 15 "description": "View your basic profile info" |
16 } | 16 } |
17 } | 17 } |
18 } | 18 } |
19 }, | 19 }, |
20 "basePath": "/", | 20 "basePath": "/", |
21 "baseUrl": "https://www.googleapis.com/", | 21 "baseUrl": "https://www.googleapis.com/", |
22 "batchPath": "batch", | 22 "batchPath": "batch", |
23 "description": "Lets you access OAuth2 protocol related APIs.", | 23 "description": "Lets you access OAuth2 protocol related APIs.", |
24 "discoveryVersion": "v1", | 24 "discoveryVersion": "v1", |
25 "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", | 25 "documentationLink": "https://developers.google.com/accounts/docs/OAuth2", |
26 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/x7FThRC1OZmHwbkYbDOWKsWuUA8\"", | 26 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/I-Kz7nVLqL3C3aFzaPv8bMiNptU\"", |
27 "icons": { | 27 "icons": { |
28 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 28 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
29 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 29 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
30 }, | 30 }, |
31 "id": "oauth2:v2", | 31 "id": "oauth2:v2", |
32 "kind": "discovery#restDescription", | 32 "kind": "discovery#restDescription", |
33 "methods": { | 33 "methods": { |
34 "getCertForOpenIdConnect": { | 34 "getCertForOpenIdConnect": { |
35 "httpMethod": "GET", | 35 "httpMethod": "GET", |
36 "id": "oauth2.getCertForOpenIdConnect", | 36 "id": "oauth2.getCertForOpenIdConnect", |
37 "path": "oauth2/v2/certs", | 37 "path": "oauth2/v2/certs", |
38 "response": { | 38 "response": { |
39 "$ref": "Jwk" | 39 "$ref": "Jwk" |
40 } | 40 } |
41 }, | 41 }, |
42 "tokeninfo": { | 42 "tokeninfo": { |
43 "httpMethod": "POST", | 43 "httpMethod": "POST", |
44 "id": "oauth2.tokeninfo", | 44 "id": "oauth2.tokeninfo", |
45 "parameters": { | 45 "parameters": { |
46 "access_token": { | 46 "access_token": { |
47 "location": "query", | 47 "location": "query", |
48 "type": "string" | 48 "type": "string" |
49 }, | 49 }, |
50 "id_token": { | 50 "id_token": { |
51 "location": "query", | 51 "location": "query", |
52 "type": "string" | 52 "type": "string" |
| 53 }, |
| 54 "token_handle": { |
| 55 "location": "query", |
| 56 "type": "string" |
53 } | 57 } |
54 }, | 58 }, |
55 "path": "oauth2/v2/tokeninfo", | 59 "path": "oauth2/v2/tokeninfo", |
56 "response": { | 60 "response": { |
57 "$ref": "Tokeninfo" | 61 "$ref": "Tokeninfo" |
58 } | 62 } |
59 } | 63 } |
60 }, | 64 }, |
61 "name": "oauth2", | 65 "name": "oauth2", |
62 "ownerDomain": "google.com", | 66 "ownerDomain": "google.com", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 "https://www.googleapis.com/auth/userinf
o.profile" | 148 "https://www.googleapis.com/auth/userinf
o.profile" |
145 ] | 149 ] |
146 } | 150 } |
147 } | 151 } |
148 } | 152 } |
149 } | 153 } |
150 } | 154 } |
151 } | 155 } |
152 } | 156 } |
153 }, | 157 }, |
154 "revision": "20150120", | 158 "revision": "20150319", |
155 "rootUrl": "https://www.googleapis.com/", | 159 "rootUrl": "https://www.googleapis.com/", |
156 "schemas": { | 160 "schemas": { |
157 "Jwk": { | 161 "Jwk": { |
158 "id": "Jwk", | 162 "id": "Jwk", |
159 "properties": { | 163 "properties": { |
160 "keys": { | 164 "keys": { |
161 "items": { | 165 "items": { |
162 "properties": { | 166 "properties": { |
163 "alg": { | 167 "alg": { |
164 "default": "RS256", | 168 "default": "RS256", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 "type": "integer" | 214 "type": "integer" |
211 }, | 215 }, |
212 "issued_to": { | 216 "issued_to": { |
213 "description": "To whom was the token issued to. In general
the same as audience.", | 217 "description": "To whom was the token issued to. In general
the same as audience.", |
214 "type": "string" | 218 "type": "string" |
215 }, | 219 }, |
216 "scope": { | 220 "scope": { |
217 "description": "The space separated list of scopes granted t
o this token.", | 221 "description": "The space separated list of scopes granted t
o this token.", |
218 "type": "string" | 222 "type": "string" |
219 }, | 223 }, |
| 224 "token_handle": { |
| 225 "description": "The token handle associated with this token.
", |
| 226 "type": "string" |
| 227 }, |
220 "user_id": { | 228 "user_id": { |
221 "description": "The Gaia obfuscated user id.", | 229 "description": "The obfuscated user id.", |
222 "type": "string" | 230 "type": "string" |
223 }, | 231 }, |
224 "verified_email": { | 232 "verified_email": { |
225 "description": "Boolean flag which is true if the email addr
ess is verified. Present only if the email scope is present in the request.", | 233 "description": "Boolean flag which is true if the email addr
ess is verified. Present only if the email scope is present in the request.", |
226 "type": "boolean" | 234 "type": "boolean" |
227 } | 235 } |
228 }, | 236 }, |
229 "type": "object" | 237 "type": "object" |
230 }, | 238 }, |
231 "Userinfoplus": { | 239 "Userinfoplus": { |
(...skipping 13 matching lines...) Expand all Loading... |
245 }, | 253 }, |
246 "given_name": { | 254 "given_name": { |
247 "description": "The user's first name.", | 255 "description": "The user's first name.", |
248 "type": "string" | 256 "type": "string" |
249 }, | 257 }, |
250 "hd": { | 258 "hd": { |
251 "description": "The hosted domain e.g. example.com if the us
er is Google apps user.", | 259 "description": "The hosted domain e.g. example.com if the us
er is Google apps user.", |
252 "type": "string" | 260 "type": "string" |
253 }, | 261 }, |
254 "id": { | 262 "id": { |
255 "description": "The focus obfuscated gaia id of the user.", | 263 "description": "The obfuscated ID of the user.", |
256 "type": "string" | 264 "type": "string" |
257 }, | 265 }, |
258 "link": { | 266 "link": { |
259 "description": "URL of the profile page.", | 267 "description": "URL of the profile page.", |
260 "type": "string" | 268 "type": "string" |
261 }, | 269 }, |
262 "locale": { | 270 "locale": { |
263 "description": "The user's preferred locale.", | 271 "description": "The user's preferred locale.", |
264 "type": "string" | 272 "type": "string" |
265 }, | 273 }, |
(...skipping 11 matching lines...) Expand all Loading... |
277 "type": "boolean" | 285 "type": "boolean" |
278 } | 286 } |
279 }, | 287 }, |
280 "type": "object" | 288 "type": "object" |
281 } | 289 } |
282 }, | 290 }, |
283 "servicePath": "", | 291 "servicePath": "", |
284 "title": "Google OAuth2 API", | 292 "title": "Google OAuth2 API", |
285 "version": "v2" | 293 "version": "v2" |
286 } | 294 } |
OLD | NEW |