1919 * Service definition for Oauth2 (v2).
2020 *
2121 * <p>
22- * Lets you access OAuth2 protocol related APIs.
23- * </p>
22+ * Lets you access OAuth2 protocol related APIs.</p>
2423 *
2524 * <p>
2625 * For more information about this service, see the API
3231class Google_Service_Oauth2 extends Google_Service
3332{
3433 /** Know your basic profile info and list of people in your circles.. */
35- const PLUS_LOGIN = "https://www.googleapis.com/auth/plus.login " ;
34+ const PLUS_LOGIN =
35+ "https://www.googleapis.com/auth/plus.login " ;
3636 /** Know who you are on Google. */
37- const PLUS_ME = "https://www.googleapis.com/auth/plus.me " ;
37+ const PLUS_ME =
38+ "https://www.googleapis.com/auth/plus.me " ;
3839 /** View your email address. */
39- const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email " ;
40+ const USERINFO_EMAIL =
41+ "https://www.googleapis.com/auth/userinfo.email " ;
4042 /** View your basic profile info. */
41- const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile " ;
43+ const USERINFO_PROFILE =
44+ "https://www.googleapis.com/auth/userinfo.profile " ;
4245
4346 public $ userinfo ;
4447 public $ userinfo_v2_me ;
@@ -114,9 +117,7 @@ public function __construct(Google_Client $client)
114117 * @param array $optParams Optional parameters.
115118 *
116119 * @opt_param string access_token
117- *
118120 * @opt_param string id_token
119- *
120121 * @return Google_Service_Oauth2_Tokeninfo
121122 */
122123 public function tokeninfo ($ optParams = array ())
@@ -163,7 +164,6 @@ public function get($optParams = array())
163164 */
164165class Google_Service_Oauth2_UserinfoV2_Resource extends Google_Service_Resource
165166{
166-
167167}
168168
169169/**
@@ -212,11 +212,11 @@ class Google_Service_Oauth2_Tokeninfo extends Google_Model
212212 public $ userId ;
213213 public $ verifiedEmail ;
214214
215+
215216 public function setAccessType ($ accessType )
216217 {
217218 $ this ->accessType = $ accessType ;
218219 }
219-
220220 public function getAccessType ()
221221 {
222222 return $ this ->accessType ;
@@ -225,7 +225,6 @@ public function setAudience($audience)
225225 {
226226 $ this ->audience = $ audience ;
227227 }
228-
229228 public function getAudience ()
230229 {
231230 return $ this ->audience ;
@@ -234,7 +233,6 @@ public function setEmail($email)
234233 {
235234 $ this ->email = $ email ;
236235 }
237-
238236 public function getEmail ()
239237 {
240238 return $ this ->email ;
@@ -243,7 +241,6 @@ public function setExpiresIn($expiresIn)
243241 {
244242 $ this ->expiresIn = $ expiresIn ;
245243 }
246-
247244 public function getExpiresIn ()
248245 {
249246 return $ this ->expiresIn ;
@@ -252,7 +249,6 @@ public function setIssuedTo($issuedTo)
252249 {
253250 $ this ->issuedTo = $ issuedTo ;
254251 }
255-
256252 public function getIssuedTo ()
257253 {
258254 return $ this ->issuedTo ;
@@ -261,7 +257,6 @@ public function setScope($scope)
261257 {
262258 $ this ->scope = $ scope ;
263259 }
264-
265260 public function getScope ()
266261 {
267262 return $ this ->scope ;
@@ -270,7 +265,6 @@ public function setUserId($userId)
270265 {
271266 $ this ->userId = $ userId ;
272267 }
273-
274268 public function getUserId ()
275269 {
276270 return $ this ->userId ;
@@ -279,12 +273,10 @@ public function setVerifiedEmail($verifiedEmail)
279273 {
280274 $ this ->verifiedEmail = $ verifiedEmail ;
281275 }
282-
283276 public function getVerifiedEmail ()
284277 {
285278 return $ this ->verifiedEmail ;
286279 }
287-
288280}
289281
290282class Google_Service_Oauth2_Userinfoplus extends Google_Model
@@ -306,11 +298,11 @@ class Google_Service_Oauth2_Userinfoplus extends Google_Model
306298 public $ picture ;
307299 public $ verifiedEmail ;
308300
301+
309302 public function setEmail ($ email )
310303 {
311304 $ this ->email = $ email ;
312305 }
313-
314306 public function getEmail ()
315307 {
316308 return $ this ->email ;
@@ -319,7 +311,6 @@ public function setFamilyName($familyName)
319311 {
320312 $ this ->familyName = $ familyName ;
321313 }
322-
323314 public function getFamilyName ()
324315 {
325316 return $ this ->familyName ;
@@ -328,7 +319,6 @@ public function setGender($gender)
328319 {
329320 $ this ->gender = $ gender ;
330321 }
331-
332322 public function getGender ()
333323 {
334324 return $ this ->gender ;
@@ -337,7 +327,6 @@ public function setGivenName($givenName)
337327 {
338328 $ this ->givenName = $ givenName ;
339329 }
340-
341330 public function getGivenName ()
342331 {
343332 return $ this ->givenName ;
@@ -346,7 +335,6 @@ public function setHd($hd)
346335 {
347336 $ this ->hd = $ hd ;
348337 }
349-
350338 public function getHd ()
351339 {
352340 return $ this ->hd ;
@@ -355,7 +343,6 @@ public function setId($id)
355343 {
356344 $ this ->id = $ id ;
357345 }
358-
359346 public function getId ()
360347 {
361348 return $ this ->id ;
@@ -364,7 +351,6 @@ public function setLink($link)
364351 {
365352 $ this ->link = $ link ;
366353 }
367-
368354 public function getLink ()
369355 {
370356 return $ this ->link ;
@@ -373,7 +359,6 @@ public function setLocale($locale)
373359 {
374360 $ this ->locale = $ locale ;
375361 }
376-
377362 public function getLocale ()
378363 {
379364 return $ this ->locale ;
@@ -382,7 +367,6 @@ public function setName($name)
382367 {
383368 $ this ->name = $ name ;
384369 }
385-
386370 public function getName ()
387371 {
388372 return $ this ->name ;
@@ -391,7 +375,6 @@ public function setPicture($picture)
391375 {
392376 $ this ->picture = $ picture ;
393377 }
394-
395378 public function getPicture ()
396379 {
397380 return $ this ->picture ;
@@ -400,10 +383,8 @@ public function setVerifiedEmail($verifiedEmail)
400383 {
401384 $ this ->verifiedEmail = $ verifiedEmail ;
402385 }
403-
404386 public function getVerifiedEmail ()
405387 {
406388 return $ this ->verifiedEmail ;
407389 }
408-
409390}
0 commit comments