2
"kind": "discovery#restDescription",
3
"etag": "\"l66ggWbucbkBw9Lpos72oziyefE/g--M527nWAL87owNTr8x3Q5-90U\"",
4
"discoveryVersion": "v1",
8
"revision": "20141029",
9
"title": "Google OAuth2 API",
10
"description": "Lets you access OAuth2 protocol related APIs.",
11
"ownerDomain": "google.com",
12
"ownerName": "Google",
14
"x16": "http://www.google.com/images/icons/product/search-16.gif",
15
"x32": "http://www.google.com/images/icons/product/search-32.gif"
17
"documentationLink": "https://developers.google.com/accounts/docs/OAuth2",
19
"baseUrl": "https://www.googleapis.com/",
21
"rootUrl": "https://www.googleapis.com/",
27
"description": "Data format for the response.",
33
"Responses with Content-Type of application/json"
39
"description": "Selector specifying which fields to include in a partial response.",
44
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
49
"description": "OAuth 2.0 token for the current user.",
54
"description": "Returns response with indentations and line breaks.",
60
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
65
"description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
72
"https://www.googleapis.com/auth/plus.login": {
73
"description": "Know your basic profile info and list of people in your circles."
75
"https://www.googleapis.com/auth/plus.me": {
76
"description": "Know who you are on Google"
78
"https://www.googleapis.com/auth/userinfo.email": {
79
"description": "View your email address"
81
"https://www.googleapis.com/auth/userinfo.profile": {
82
"description": "View your basic profile info"
94
"description": "The access type granted with this token. It can be offline or online."
98
"description": "Who is the intended audience for this token. In general the same as issued_to."
102
"description": "The email address of the user. Present only if the email scope is present in the request."
106
"description": "Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request."
110
"description": "The expiry time of the token, as number of seconds left until expiry.",
115
"description": "The issue time of the token, as number of seconds.",
120
"description": "To whom was the token issued to. In general the same as audience."
124
"description": "Who issued the token."
128
"description": "Nonce of the id token."
132
"description": "The space separated list of scopes granted to this token."
136
"description": "The Gaia obfuscated user id."
140
"description": "Boolean flag which is true if the email address is verified. Present only if the email scope is present in the request."
145
"id": "Userinfoplus",
150
"description": "The user's email address."
154
"description": "The user's last name."
158
"description": "The user's gender."
162
"description": "The user's first name."
166
"description": "The hosted domain e.g. example.com if the user is Google apps user."
170
"description": "The focus obfuscated gaia id of the user."
174
"description": "URL of the profile page."
178
"description": "The user's preferred locale."
182
"description": "The user's full name."
186
"description": "URL of the user's picture image."
190
"description": "Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.",
198
"id": "oauth2.tokeninfo",
199
"path": "oauth2/v1/tokeninfo",
200
"httpMethod": "POST",
201
"description": "Get token info",
205
"description": "The oauth2 access token",
210
"description": "The ID token",
223
"id": "oauth2.userinfo.get",
224
"path": "oauth2/v1/userinfo",
226
"description": "Get user info",
228
"$ref": "Userinfoplus"
231
"https://www.googleapis.com/auth/plus.login",
232
"https://www.googleapis.com/auth/plus.me",
233
"https://www.googleapis.com/auth/userinfo.email",
234
"https://www.googleapis.com/auth/userinfo.profile"
244
"id": "oauth2.userinfo.v2.me.get",
245
"path": "userinfo/v2/me",
247
"description": "Get user info",
249
"$ref": "Userinfoplus"
252
"https://www.googleapis.com/auth/plus.login",
253
"https://www.googleapis.com/auth/plus.me",
254
"https://www.googleapis.com/auth/userinfo.email",
255
"https://www.googleapis.com/auth/userinfo.profile"