PluginProbe
UpdraftPlus: WP Backup & Migration Plugin / 1.16.5
UpdraftPlus: WP Backup & Migration Plugin v1.16.5
1.26.7 1.26.6 1.26.5 1.26.4 1.26.3 1.9.19 1.9.25 1.9.26 1.9.30 1.9.31 1.9.32 1.9.4 1.9.40 1.9.41 1.9.42 1.9.43 1.9.44 1.9.45 1.9.46 1.9.5 1.9.50 1.9.51 1.9.60 1.9.62 1.9.63 All 371 releases
updraftplus / includes / Google / Service / IdentityToolkit.php

IdentityToolkit.php in UpdraftPlus: WP Backup & Migration Plugin 1.16.5, at includes/Google/Service/IdentityToolkit.php

1,737 lines 39.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for IdentityToolkit (v3).
20 *
21 * <p>
22 * Help the third party sites to implement federated login.</p>
23 *
24 * <p>
25 * For more information about this service, see the API
26 * <a href="https://developers.google.com/identity-toolkit/v3/" target="_blank">Documentation</a>
27 * </p>
28 *
29 * @author Google, Inc.
30 */
31 class Google_Service_IdentityToolkit extends Google_Service
32 {
33
34
35 public $relyingparty;
36
37
38 /**
39 * Constructs the internal representation of the IdentityToolkit service.
40 *
41 * @param Google_Client $client
42 */
43 public function __construct(Google_Client $client)
44 {
45 parent::__construct($client);
46 $this->servicePath = 'identitytoolkit/v3/relyingparty/';
47 $this->version = 'v3';
48 $this->serviceName = 'identitytoolkit';
49
50 $this->relyingparty = new Google_Service_IdentityToolkit_Relyingparty_Resource(
51 $this,
52 $this->serviceName,
53 'relyingparty',
54 array(
55 'methods' => array(
56 'createAuthUri' => array(
57 'path' => 'createAuthUri',
58 'httpMethod' => 'POST',
59 'parameters' => array(),
60 ),'deleteAccount' => array(
61 'path' => 'deleteAccount',
62 'httpMethod' => 'POST',
63 'parameters' => array(),
64 ),'downloadAccount' => array(
65 'path' => 'downloadAccount',
66 'httpMethod' => 'POST',
67 'parameters' => array(),
68 ),'getAccountInfo' => array(
69 'path' => 'getAccountInfo',
70 'httpMethod' => 'POST',
71 'parameters' => array(),
72 ),'getOobConfirmationCode' => array(
73 'path' => 'getOobConfirmationCode',
74 'httpMethod' => 'POST',
75 'parameters' => array(),
76 ),'getPublicKeys' => array(
77 'path' => 'publicKeys',
78 'httpMethod' => 'GET',
79 'parameters' => array(),
80 ),'getRecaptchaParam' => array(
81 'path' => 'getRecaptchaParam',
82 'httpMethod' => 'GET',
83 'parameters' => array(),
84 ),'resetPassword' => array(
85 'path' => 'resetPassword',
86 'httpMethod' => 'POST',
87 'parameters' => array(),
88 ),'setAccountInfo' => array(
89 'path' => 'setAccountInfo',
90 'httpMethod' => 'POST',
91 'parameters' => array(),
92 ),'uploadAccount' => array(
93 'path' => 'uploadAccount',
94 'httpMethod' => 'POST',
95 'parameters' => array(),
96 ),'verifyAssertion' => array(
97 'path' => 'verifyAssertion',
98 'httpMethod' => 'POST',
99 'parameters' => array(),
100 ),'verifyPassword' => array(
101 'path' => 'verifyPassword',
102 'httpMethod' => 'POST',
103 'parameters' => array(),
104 ),
105 )
106 )
107 );
108 }
109 }
110
111
112 /**
113 * The "relyingparty" collection of methods.
114 * Typical usage is:
115 * <code>
116 * $identitytoolkitService = new Google_Service_IdentityToolkit(...);
117 * $relyingparty = $identitytoolkitService->relyingparty;
118 * </code>
119 */
120 class Google_Service_IdentityToolkit_Relyingparty_Resource extends Google_Service_Resource
121 {
122
123 /**
124 * Creates the URI used by the IdP to authenticate the user.
125 * (relyingparty.createAuthUri)
126 *
127 * @param Google_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody
128 * @param array $optParams Optional parameters.
129 * @return Google_Service_IdentityToolkit_CreateAuthUriResponse
130 */
131 public function createAuthUri(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody, $optParams = array())
132 {
133 $params = array('postBody' => $postBody);
134 $params = array_merge($params, $optParams);
135 return $this->call('createAuthUri', array($params), "Google_Service_IdentityToolkit_CreateAuthUriResponse");
136 }
137
138 /**
139 * Delete user account. (relyingparty.deleteAccount)
140 *
141 * @param Google_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody
142 * @param array $optParams Optional parameters.
143 * @return Google_Service_IdentityToolkit_DeleteAccountResponse
144 */
145 public function deleteAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array())
146 {
147 $params = array('postBody' => $postBody);
148 $params = array_merge($params, $optParams);
149 return $this->call('deleteAccount', array($params), "Google_Service_IdentityToolkit_DeleteAccountResponse");
150 }
151
152 /**
153 * Batch download user accounts. (relyingparty.downloadAccount)
154 *
155 * @param Google_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody
156 * @param array $optParams Optional parameters.
157 * @return Google_Service_IdentityToolkit_DownloadAccountResponse
158 */
159 public function downloadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody, $optParams = array())
160 {
161 $params = array('postBody' => $postBody);
162 $params = array_merge($params, $optParams);
163 return $this->call('downloadAccount', array($params), "Google_Service_IdentityToolkit_DownloadAccountResponse");
164 }
165
166 /**
167 * Returns the account info. (relyingparty.getAccountInfo)
168 *
169 * @param Google_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody
170 * @param array $optParams Optional parameters.
171 * @return Google_Service_IdentityToolkit_GetAccountInfoResponse
172 */
173 public function getAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody, $optParams = array())
174 {
175 $params = array('postBody' => $postBody);
176 $params = array_merge($params, $optParams);
177 return $this->call('getAccountInfo', array($params), "Google_Service_IdentityToolkit_GetAccountInfoResponse");
178 }
179
180 /**
181 * Get a code for user action confirmation.
182 * (relyingparty.getOobConfirmationCode)
183 *
184 * @param Google_Relyingparty $postBody
185 * @param array $optParams Optional parameters.
186 * @return Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse
187 */
188 public function getOobConfirmationCode(Google_Service_IdentityToolkit_Relyingparty $postBody, $optParams = array())
189 {
190 $params = array('postBody' => $postBody);
191 $params = array_merge($params, $optParams);
192 return $this->call('getOobConfirmationCode', array($params), "Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse");
193 }
194
195 /**
196 * Get token signing public key. (relyingparty.getPublicKeys)
197 *
198 * @param array $optParams Optional parameters.
199 * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse
200 */
201 public function getPublicKeys($optParams = array())
202 {
203 $params = array();
204 $params = array_merge($params, $optParams);
205 return $this->call('getPublicKeys', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse");
206 }
207
208 /**
209 * Get recaptcha secure param. (relyingparty.getRecaptchaParam)
210 *
211 * @param array $optParams Optional parameters.
212 * @return Google_Service_IdentityToolkit_GetRecaptchaParamResponse
213 */
214 public function getRecaptchaParam($optParams = array())
215 {
216 $params = array();
217 $params = array_merge($params, $optParams);
218 return $this->call('getRecaptchaParam', array($params), "Google_Service_IdentityToolkit_GetRecaptchaParamResponse");
219 }
220
221 /**
222 * Reset password for a user. (relyingparty.resetPassword)
223 *
224 * @param Google_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody
225 * @param array $optParams Optional parameters.
226 * @return Google_Service_IdentityToolkit_ResetPasswordResponse
227 */
228 public function resetPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array())
229 {
230 $params = array('postBody' => $postBody);
231 $params = array_merge($params, $optParams);
232 return $this->call('resetPassword', array($params), "Google_Service_IdentityToolkit_ResetPasswordResponse");
233 }
234
235 /**
236 * Set account info for a user. (relyingparty.setAccountInfo)
237 *
238 * @param Google_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody
239 * @param array $optParams Optional parameters.
240 * @return Google_Service_IdentityToolkit_SetAccountInfoResponse
241 */
242 public function setAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody, $optParams = array())
243 {
244 $params = array('postBody' => $postBody);
245 $params = array_merge($params, $optParams);
246 return $this->call('setAccountInfo', array($params), "Google_Service_IdentityToolkit_SetAccountInfoResponse");
247 }
248
249 /**
250 * Batch upload existing user accounts. (relyingparty.uploadAccount)
251 *
252 * @param Google_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody
253 * @param array $optParams Optional parameters.
254 * @return Google_Service_IdentityToolkit_UploadAccountResponse
255 */
256 public function uploadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody, $optParams = array())
257 {
258 $params = array('postBody' => $postBody);
259 $params = array_merge($params, $optParams);
260 return $this->call('uploadAccount', array($params), "Google_Service_IdentityToolkit_UploadAccountResponse");
261 }
262
263 /**
264 * Verifies the assertion returned by the IdP. (relyingparty.verifyAssertion)
265 *
266 * @param Google_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody
267 * @param array $optParams Optional parameters.
268 * @return Google_Service_IdentityToolkit_VerifyAssertionResponse
269 */
270 public function verifyAssertion(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody, $optParams = array())
271 {
272 $params = array('postBody' => $postBody);
273 $params = array_merge($params, $optParams);
274 return $this->call('verifyAssertion', array($params), "Google_Service_IdentityToolkit_VerifyAssertionResponse");
275 }
276
277 /**
278 * Verifies the user entered password. (relyingparty.verifyPassword)
279 *
280 * @param Google_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody
281 * @param array $optParams Optional parameters.
282 * @return Google_Service_IdentityToolkit_VerifyPasswordResponse
283 */
284 public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody, $optParams = array())
285 {
286 $params = array('postBody' => $postBody);
287 $params = array_merge($params, $optParams);
288 return $this->call('verifyPassword', array($params), "Google_Service_IdentityToolkit_VerifyPasswordResponse");
289 }
290 }
291
292
293
294
295 class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Model
296 {
297 protected $internal_gapi_mappings = array(
298 );
299 public $authUri;
300 public $captchaRequired;
301 public $forExistingProvider;
302 public $kind;
303 public $providerId;
304 public $registered;
305
306
307 public function setAuthUri($authUri)
308 {
309 $this->authUri = $authUri;
310 }
311 public function getAuthUri()
312 {
313 return $this->authUri;
314 }
315 public function setCaptchaRequired($captchaRequired)
316 {
317 $this->captchaRequired = $captchaRequired;
318 }
319 public function getCaptchaRequired()
320 {
321 return $this->captchaRequired;
322 }
323 public function setForExistingProvider($forExistingProvider)
324 {
325 $this->forExistingProvider = $forExistingProvider;
326 }
327 public function getForExistingProvider()
328 {
329 return $this->forExistingProvider;
330 }
331 public function setKind($kind)
332 {
333 $this->kind = $kind;
334 }
335 public function getKind()
336 {
337 return $this->kind;
338 }
339 public function setProviderId($providerId)
340 {
341 $this->providerId = $providerId;
342 }
343 public function getProviderId()
344 {
345 return $this->providerId;
346 }
347 public function setRegistered($registered)
348 {
349 $this->registered = $registered;
350 }
351 public function getRegistered()
352 {
353 return $this->registered;
354 }
355 }
356
357 class Google_Service_IdentityToolkit_DeleteAccountResponse extends Google_Model
358 {
359 protected $internal_gapi_mappings = array(
360 );
361 public $kind;
362
363
364 public function setKind($kind)
365 {
366 $this->kind = $kind;
367 }
368 public function getKind()
369 {
370 return $this->kind;
371 }
372 }
373
374 class Google_Service_IdentityToolkit_DownloadAccountResponse extends Google_Collection
375 {
376 protected $collection_key = 'users';
377 protected $internal_gapi_mappings = array(
378 );
379 public $kind;
380 public $nextPageToken;
381 protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
382 protected $usersDataType = 'array';
383
384
385 public function setKind($kind)
386 {
387 $this->kind = $kind;
388 }
389 public function getKind()
390 {
391 return $this->kind;
392 }
393 public function setNextPageToken($nextPageToken)
394 {
395 $this->nextPageToken = $nextPageToken;
396 }
397 public function getNextPageToken()
398 {
399 return $this->nextPageToken;
400 }
401 public function setUsers($users)
402 {
403 $this->users = $users;
404 }
405 public function getUsers()
406 {
407 return $this->users;
408 }
409 }
410
411 class Google_Service_IdentityToolkit_GetAccountInfoResponse extends Google_Collection
412 {
413 protected $collection_key = 'users';
414 protected $internal_gapi_mappings = array(
415 );
416 public $kind;
417 protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
418 protected $usersDataType = 'array';
419
420
421 public function setKind($kind)
422 {
423 $this->kind = $kind;
424 }
425 public function getKind()
426 {
427 return $this->kind;
428 }
429 public function setUsers($users)
430 {
431 $this->users = $users;
432 }
433 public function getUsers()
434 {
435 return $this->users;
436 }
437 }
438
439 class Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse extends Google_Model
440 {
441 protected $internal_gapi_mappings = array(
442 );
443 public $kind;
444 public $oobCode;
445
446
447 public function setKind($kind)
448 {
449 $this->kind = $kind;
450 }
451 public function getKind()
452 {
453 return $this->kind;
454 }
455 public function setOobCode($oobCode)
456 {
457 $this->oobCode = $oobCode;
458 }
459 public function getOobCode()
460 {
461 return $this->oobCode;
462 }
463 }
464
465 class Google_Service_IdentityToolkit_GetRecaptchaParamResponse extends Google_Model
466 {
467 protected $internal_gapi_mappings = array(
468 );
469 public $kind;
470 public $recaptchaSiteKey;
471 public $recaptchaStoken;
472
473
474 public function setKind($kind)
475 {
476 $this->kind = $kind;
477 }
478 public function getKind()
479 {
480 return $this->kind;
481 }
482 public function setRecaptchaSiteKey($recaptchaSiteKey)
483 {
484 $this->recaptchaSiteKey = $recaptchaSiteKey;
485 }
486 public function getRecaptchaSiteKey()
487 {
488 return $this->recaptchaSiteKey;
489 }
490 public function setRecaptchaStoken($recaptchaStoken)
491 {
492 $this->recaptchaStoken = $recaptchaStoken;
493 }
494 public function getRecaptchaStoken()
495 {
496 return $this->recaptchaStoken;
497 }
498 }
499
500 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest extends Google_Model
501 {
502 protected $internal_gapi_mappings = array(
503 );
504 public $appId;
505 public $clientId;
506 public $context;
507 public $continueUri;
508 public $identifier;
509 public $oauthConsumerKey;
510 public $oauthScope;
511 public $openidRealm;
512 public $otaApp;
513 public $providerId;
514
515
516 public function setAppId($appId)
517 {
518 $this->appId = $appId;
519 }
520 public function getAppId()
521 {
522 return $this->appId;
523 }
524 public function setClientId($clientId)
525 {
526 $this->clientId = $clientId;
527 }
528 public function getClientId()
529 {
530 return $this->clientId;
531 }
532 public function setContext($context)
533 {
534 $this->context = $context;
535 }
536 public function getContext()
537 {
538 return $this->context;
539 }
540 public function setContinueUri($continueUri)
541 {
542 $this->continueUri = $continueUri;
543 }
544 public function getContinueUri()
545 {
546 return $this->continueUri;
547 }
548 public function setIdentifier($identifier)
549 {
550 $this->identifier = $identifier;
551 }
552 public function getIdentifier()
553 {
554 return $this->identifier;
555 }
556 public function setOauthConsumerKey($oauthConsumerKey)
557 {
558 $this->oauthConsumerKey = $oauthConsumerKey;
559 }
560 public function getOauthConsumerKey()
561 {
562 return $this->oauthConsumerKey;
563 }
564 public function setOauthScope($oauthScope)
565 {
566 $this->oauthScope = $oauthScope;
567 }
568 public function getOauthScope()
569 {
570 return $this->oauthScope;
571 }
572 public function setOpenidRealm($openidRealm)
573 {
574 $this->openidRealm = $openidRealm;
575 }
576 public function getOpenidRealm()
577 {
578 return $this->openidRealm;
579 }
580 public function setOtaApp($otaApp)
581 {
582 $this->otaApp = $otaApp;
583 }
584 public function getOtaApp()
585 {
586 return $this->otaApp;
587 }
588 public function setProviderId($providerId)
589 {
590 $this->providerId = $providerId;
591 }
592 public function getProviderId()
593 {
594 return $this->providerId;
595 }
596 }
597
598 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest extends Google_Model
599 {
600 protected $internal_gapi_mappings = array(
601 );
602 public $localId;
603
604
605 public function setLocalId($localId)
606 {
607 $this->localId = $localId;
608 }
609 public function getLocalId()
610 {
611 return $this->localId;
612 }
613 }
614
615 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest extends Google_Model
616 {
617 protected $internal_gapi_mappings = array(
618 );
619 public $maxResults;
620 public $nextPageToken;
621
622
623 public function setMaxResults($maxResults)
624 {
625 $this->maxResults = $maxResults;
626 }
627 public function getMaxResults()
628 {
629 return $this->maxResults;
630 }
631 public function setNextPageToken($nextPageToken)
632 {
633 $this->nextPageToken = $nextPageToken;
634 }
635 public function getNextPageToken()
636 {
637 return $this->nextPageToken;
638 }
639 }
640
641 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest extends Google_Collection
642 {
643 protected $collection_key = 'localId';
644 protected $internal_gapi_mappings = array(
645 );
646 public $email;
647 public $idToken;
648 public $localId;
649
650
651 public function setEmail($email)
652 {
653 $this->email = $email;
654 }
655 public function getEmail()
656 {
657 return $this->email;
658 }
659 public function setIdToken($idToken)
660 {
661 $this->idToken = $idToken;
662 }
663 public function getIdToken()
664 {
665 return $this->idToken;
666 }
667 public function setLocalId($localId)
668 {
669 $this->localId = $localId;
670 }
671 public function getLocalId()
672 {
673 return $this->localId;
674 }
675 }
676
677 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse extends Google_Model
678 {
679 }
680
681 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Google_Model
682 {
683 protected $internal_gapi_mappings = array(
684 );
685 public $email;
686 public $newPassword;
687 public $oldPassword;
688 public $oobCode;
689
690
691 public function setEmail($email)
692 {
693 $this->email = $email;
694 }
695 public function getEmail()
696 {
697 return $this->email;
698 }
699 public function setNewPassword($newPassword)
700 {
701 $this->newPassword = $newPassword;
702 }
703 public function getNewPassword()
704 {
705 return $this->newPassword;
706 }
707 public function setOldPassword($oldPassword)
708 {
709 $this->oldPassword = $oldPassword;
710 }
711 public function getOldPassword()
712 {
713 return $this->oldPassword;
714 }
715 public function setOobCode($oobCode)
716 {
717 $this->oobCode = $oobCode;
718 }
719 public function getOobCode()
720 {
721 return $this->oobCode;
722 }
723 }
724
725 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest extends Google_Collection
726 {
727 protected $collection_key = 'provider';
728 protected $internal_gapi_mappings = array(
729 );
730 public $captchaChallenge;
731 public $captchaResponse;
732 public $displayName;
733 public $email;
734 public $emailVerified;
735 public $idToken;
736 public $localId;
737 public $oobCode;
738 public $password;
739 public $provider;
740 public $upgradeToFederatedLogin;
741
742
743 public function setCaptchaChallenge($captchaChallenge)
744 {
745 $this->captchaChallenge = $captchaChallenge;
746 }
747 public function getCaptchaChallenge()
748 {
749 return $this->captchaChallenge;
750 }
751 public function setCaptchaResponse($captchaResponse)
752 {
753 $this->captchaResponse = $captchaResponse;
754 }
755 public function getCaptchaResponse()
756 {
757 return $this->captchaResponse;
758 }
759 public function setDisplayName($displayName)
760 {
761 $this->displayName = $displayName;
762 }
763 public function getDisplayName()
764 {
765 return $this->displayName;
766 }
767 public function setEmail($email)
768 {
769 $this->email = $email;
770 }
771 public function getEmail()
772 {
773 return $this->email;
774 }
775 public function setEmailVerified($emailVerified)
776 {
777 $this->emailVerified = $emailVerified;
778 }
779 public function getEmailVerified()
780 {
781 return $this->emailVerified;
782 }
783 public function setIdToken($idToken)
784 {
785 $this->idToken = $idToken;
786 }
787 public function getIdToken()
788 {
789 return $this->idToken;
790 }
791 public function setLocalId($localId)
792 {
793 $this->localId = $localId;
794 }
795 public function getLocalId()
796 {
797 return $this->localId;
798 }
799 public function setOobCode($oobCode)
800 {
801 $this->oobCode = $oobCode;
802 }
803 public function getOobCode()
804 {
805 return $this->oobCode;
806 }
807 public function setPassword($password)
808 {
809 $this->password = $password;
810 }
811 public function getPassword()
812 {
813 return $this->password;
814 }
815 public function setProvider($provider)
816 {
817 $this->provider = $provider;
818 }
819 public function getProvider()
820 {
821 return $this->provider;
822 }
823 public function setUpgradeToFederatedLogin($upgradeToFederatedLogin)
824 {
825 $this->upgradeToFederatedLogin = $upgradeToFederatedLogin;
826 }
827 public function getUpgradeToFederatedLogin()
828 {
829 return $this->upgradeToFederatedLogin;
830 }
831 }
832
833 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest extends Google_Collection
834 {
835 protected $collection_key = 'users';
836 protected $internal_gapi_mappings = array(
837 );
838 public $hashAlgorithm;
839 public $memoryCost;
840 public $rounds;
841 public $saltSeparator;
842 public $signerKey;
843 protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
844 protected $usersDataType = 'array';
845
846
847 public function setHashAlgorithm($hashAlgorithm)
848 {
849 $this->hashAlgorithm = $hashAlgorithm;
850 }
851 public function getHashAlgorithm()
852 {
853 return $this->hashAlgorithm;
854 }
855 public function setMemoryCost($memoryCost)
856 {
857 $this->memoryCost = $memoryCost;
858 }
859 public function getMemoryCost()
860 {
861 return $this->memoryCost;
862 }
863 public function setRounds($rounds)
864 {
865 $this->rounds = $rounds;
866 }
867 public function getRounds()
868 {
869 return $this->rounds;
870 }
871 public function setSaltSeparator($saltSeparator)
872 {
873 $this->saltSeparator = $saltSeparator;
874 }
875 public function getSaltSeparator()
876 {
877 return $this->saltSeparator;
878 }
879 public function setSignerKey($signerKey)
880 {
881 $this->signerKey = $signerKey;
882 }
883 public function getSignerKey()
884 {
885 return $this->signerKey;
886 }
887 public function setUsers($users)
888 {
889 $this->users = $users;
890 }
891 public function getUsers()
892 {
893 return $this->users;
894 }
895 }
896
897 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest extends Google_Model
898 {
899 protected $internal_gapi_mappings = array(
900 );
901 public $pendingIdToken;
902 public $postBody;
903 public $requestUri;
904 public $returnRefreshToken;
905
906
907 public function setPendingIdToken($pendingIdToken)
908 {
909 $this->pendingIdToken = $pendingIdToken;
910 }
911 public function getPendingIdToken()
912 {
913 return $this->pendingIdToken;
914 }
915 public function setPostBody($postBody)
916 {
917 $this->postBody = $postBody;
918 }
919 public function getPostBody()
920 {
921 return $this->postBody;
922 }
923 public function setRequestUri($requestUri)
924 {
925 $this->requestUri = $requestUri;
926 }
927 public function getRequestUri()
928 {
929 return $this->requestUri;
930 }
931 public function setReturnRefreshToken($returnRefreshToken)
932 {
933 $this->returnRefreshToken = $returnRefreshToken;
934 }
935 public function getReturnRefreshToken()
936 {
937 return $this->returnRefreshToken;
938 }
939 }
940
941 class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest extends Google_Model
942 {
943 protected $internal_gapi_mappings = array(
944 );
945 public $captchaChallenge;
946 public $captchaResponse;
947 public $email;
948 public $password;
949 public $pendingIdToken;
950
951
952 public function setCaptchaChallenge($captchaChallenge)
953 {
954 $this->captchaChallenge = $captchaChallenge;
955 }
956 public function getCaptchaChallenge()
957 {
958 return $this->captchaChallenge;
959 }
960 public function setCaptchaResponse($captchaResponse)
961 {
962 $this->captchaResponse = $captchaResponse;
963 }
964 public function getCaptchaResponse()
965 {
966 return $this->captchaResponse;
967 }
968 public function setEmail($email)
969 {
970 $this->email = $email;
971 }
972 public function getEmail()
973 {
974 return $this->email;
975 }
976 public function setPassword($password)
977 {
978 $this->password = $password;
979 }
980 public function getPassword()
981 {
982 return $this->password;
983 }
984 public function setPendingIdToken($pendingIdToken)
985 {
986 $this->pendingIdToken = $pendingIdToken;
987 }
988 public function getPendingIdToken()
989 {
990 return $this->pendingIdToken;
991 }
992 }
993
994 class Google_Service_IdentityToolkit_Relyingparty extends Google_Model
995 {
996 protected $internal_gapi_mappings = array(
997 );
998 public $captchaResp;
999 public $challenge;
1000 public $email;
1001 public $idToken;
1002 public $kind;
1003 public $newEmail;
1004 public $requestType;
1005 public $userIp;
1006
1007
1008 public function setCaptchaResp($captchaResp)
1009 {
1010 $this->captchaResp = $captchaResp;
1011 }
1012 public function getCaptchaResp()
1013 {
1014 return $this->captchaResp;
1015 }
1016 public function setChallenge($challenge)
1017 {
1018 $this->challenge = $challenge;
1019 }
1020 public function getChallenge()
1021 {
1022 return $this->challenge;
1023 }
1024 public function setEmail($email)
1025 {
1026 $this->email = $email;
1027 }
1028 public function getEmail()
1029 {
1030 return $this->email;
1031 }
1032 public function setIdToken($idToken)
1033 {
1034 $this->idToken = $idToken;
1035 }
1036 public function getIdToken()
1037 {
1038 return $this->idToken;
1039 }
1040 public function setKind($kind)
1041 {
1042 $this->kind = $kind;
1043 }
1044 public function getKind()
1045 {
1046 return $this->kind;
1047 }
1048 public function setNewEmail($newEmail)
1049 {
1050 $this->newEmail = $newEmail;
1051 }
1052 public function getNewEmail()
1053 {
1054 return $this->newEmail;
1055 }
1056 public function setRequestType($requestType)
1057 {
1058 $this->requestType = $requestType;
1059 }
1060 public function getRequestType()
1061 {
1062 return $this->requestType;
1063 }
1064 public function setUserIp($userIp)
1065 {
1066 $this->userIp = $userIp;
1067 }
1068 public function getUserIp()
1069 {
1070 return $this->userIp;
1071 }
1072 }
1073
1074 class Google_Service_IdentityToolkit_ResetPasswordResponse extends Google_Model
1075 {
1076 protected $internal_gapi_mappings = array(
1077 );
1078 public $email;
1079 public $kind;
1080
1081
1082 public function setEmail($email)
1083 {
1084 $this->email = $email;
1085 }
1086 public function getEmail()
1087 {
1088 return $this->email;
1089 }
1090 public function setKind($kind)
1091 {
1092 $this->kind = $kind;
1093 }
1094 public function getKind()
1095 {
1096 return $this->kind;
1097 }
1098 }
1099
1100 class Google_Service_IdentityToolkit_SetAccountInfoResponse extends Google_Collection
1101 {
1102 protected $collection_key = 'providerUserInfo';
1103 protected $internal_gapi_mappings = array(
1104 );
1105 public $displayName;
1106 public $email;
1107 public $idToken;
1108 public $kind;
1109 protected $providerUserInfoType = 'Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo';
1110 protected $providerUserInfoDataType = 'array';
1111
1112
1113 public function setDisplayName($displayName)
1114 {
1115 $this->displayName = $displayName;
1116 }
1117 public function getDisplayName()
1118 {
1119 return $this->displayName;
1120 }
1121 public function setEmail($email)
1122 {
1123 $this->email = $email;
1124 }
1125 public function getEmail()
1126 {
1127 return $this->email;
1128 }
1129 public function setIdToken($idToken)
1130 {
1131 $this->idToken = $idToken;
1132 }
1133 public function getIdToken()
1134 {
1135 return $this->idToken;
1136 }
1137 public function setKind($kind)
1138 {
1139 $this->kind = $kind;
1140 }
1141 public function getKind()
1142 {
1143 return $this->kind;
1144 }
1145 public function setProviderUserInfo($providerUserInfo)
1146 {
1147 $this->providerUserInfo = $providerUserInfo;
1148 }
1149 public function getProviderUserInfo()
1150 {
1151 return $this->providerUserInfo;
1152 }
1153 }
1154
1155 class Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo extends Google_Model
1156 {
1157 protected $internal_gapi_mappings = array(
1158 );
1159 public $displayName;
1160 public $photoUrl;
1161 public $providerId;
1162
1163
1164 public function setDisplayName($displayName)
1165 {
1166 $this->displayName = $displayName;
1167 }
1168 public function getDisplayName()
1169 {
1170 return $this->displayName;
1171 }
1172 public function setPhotoUrl($photoUrl)
1173 {
1174 $this->photoUrl = $photoUrl;
1175 }
1176 public function getPhotoUrl()
1177 {
1178 return $this->photoUrl;
1179 }
1180 public function setProviderId($providerId)
1181 {
1182 $this->providerId = $providerId;
1183 }
1184 public function getProviderId()
1185 {
1186 return $this->providerId;
1187 }
1188 }
1189
1190 class Google_Service_IdentityToolkit_UploadAccountResponse extends Google_Collection
1191 {
1192 protected $collection_key = 'error';
1193 protected $internal_gapi_mappings = array(
1194 );
1195 protected $errorType = 'Google_Service_IdentityToolkit_UploadAccountResponseError';
1196 protected $errorDataType = 'array';
1197 public $kind;
1198
1199
1200 public function setError($error)
1201 {
1202 $this->error = $error;
1203 }
1204 public function getError()
1205 {
1206 return $this->error;
1207 }
1208 public function setKind($kind)
1209 {
1210 $this->kind = $kind;
1211 }
1212 public function getKind()
1213 {
1214 return $this->kind;
1215 }
1216 }
1217
1218 class Google_Service_IdentityToolkit_UploadAccountResponseError extends Google_Model
1219 {
1220 protected $internal_gapi_mappings = array(
1221 );
1222 public $index;
1223 public $message;
1224
1225
1226 public function setIndex($index)
1227 {
1228 $this->index = $index;
1229 }
1230 public function getIndex()
1231 {
1232 return $this->index;
1233 }
1234 public function setMessage($message)
1235 {
1236 $this->message = $message;
1237 }
1238 public function getMessage()
1239 {
1240 return $this->message;
1241 }
1242 }
1243
1244 class Google_Service_IdentityToolkit_UserInfo extends Google_Collection
1245 {
1246 protected $collection_key = 'providerUserInfo';
1247 protected $internal_gapi_mappings = array(
1248 );
1249 public $displayName;
1250 public $email;
1251 public $emailVerified;
1252 public $localId;
1253 public $passwordHash;
1254 public $passwordUpdatedAt;
1255 public $photoUrl;
1256 protected $providerUserInfoType = 'Google_Service_IdentityToolkit_UserInfoProviderUserInfo';
1257 protected $providerUserInfoDataType = 'array';
1258 public $salt;
1259 public $version;
1260
1261
1262 public function setDisplayName($displayName)
1263 {
1264 $this->displayName = $displayName;
1265 }
1266 public function getDisplayName()
1267 {
1268 return $this->displayName;
1269 }
1270 public function setEmail($email)
1271 {
1272 $this->email = $email;
1273 }
1274 public function getEmail()
1275 {
1276 return $this->email;
1277 }
1278 public function setEmailVerified($emailVerified)
1279 {
1280 $this->emailVerified = $emailVerified;
1281 }
1282 public function getEmailVerified()
1283 {
1284 return $this->emailVerified;
1285 }
1286 public function setLocalId($localId)
1287 {
1288 $this->localId = $localId;
1289 }
1290 public function getLocalId()
1291 {
1292 return $this->localId;
1293 }
1294 public function setPasswordHash($passwordHash)
1295 {
1296 $this->passwordHash = $passwordHash;
1297 }
1298 public function getPasswordHash()
1299 {
1300 return $this->passwordHash;
1301 }
1302 public function setPasswordUpdatedAt($passwordUpdatedAt)
1303 {
1304 $this->passwordUpdatedAt = $passwordUpdatedAt;
1305 }
1306 public function getPasswordUpdatedAt()
1307 {
1308 return $this->passwordUpdatedAt;
1309 }
1310 public function setPhotoUrl($photoUrl)
1311 {
1312 $this->photoUrl = $photoUrl;
1313 }
1314 public function getPhotoUrl()
1315 {
1316 return $this->photoUrl;
1317 }
1318 public function setProviderUserInfo($providerUserInfo)
1319 {
1320 $this->providerUserInfo = $providerUserInfo;
1321 }
1322 public function getProviderUserInfo()
1323 {
1324 return $this->providerUserInfo;
1325 }
1326 public function setSalt($salt)
1327 {
1328 $this->salt = $salt;
1329 }
1330 public function getSalt()
1331 {
1332 return $this->salt;
1333 }
1334 public function setVersion($version)
1335 {
1336 $this->version = $version;
1337 }
1338 public function getVersion()
1339 {
1340 return $this->version;
1341 }
1342 }
1343
1344 class Google_Service_IdentityToolkit_UserInfoProviderUserInfo extends Google_Model
1345 {
1346 protected $internal_gapi_mappings = array(
1347 );
1348 public $displayName;
1349 public $federatedId;
1350 public $photoUrl;
1351 public $providerId;
1352
1353
1354 public function setDisplayName($displayName)
1355 {
1356 $this->displayName = $displayName;
1357 }
1358 public function getDisplayName()
1359 {
1360 return $this->displayName;
1361 }
1362 public function setFederatedId($federatedId)
1363 {
1364 $this->federatedId = $federatedId;
1365 }
1366 public function getFederatedId()
1367 {
1368 return $this->federatedId;
1369 }
1370 public function setPhotoUrl($photoUrl)
1371 {
1372 $this->photoUrl = $photoUrl;
1373 }
1374 public function getPhotoUrl()
1375 {
1376 return $this->photoUrl;
1377 }
1378 public function setProviderId($providerId)
1379 {
1380 $this->providerId = $providerId;
1381 }
1382 public function getProviderId()
1383 {
1384 return $this->providerId;
1385 }
1386 }
1387
1388 class Google_Service_IdentityToolkit_VerifyAssertionResponse extends Google_Collection
1389 {
1390 protected $collection_key = 'verifiedProvider';
1391 protected $internal_gapi_mappings = array(
1392 );
1393 public $action;
1394 public $appInstallationUrl;
1395 public $appScheme;
1396 public $context;
1397 public $dateOfBirth;
1398 public $displayName;
1399 public $email;
1400 public $emailRecycled;
1401 public $emailVerified;
1402 public $federatedId;
1403 public $firstName;
1404 public $fullName;
1405 public $idToken;
1406 public $inputEmail;
1407 public $kind;
1408 public $language;
1409 public $lastName;
1410 public $localId;
1411 public $needConfirmation;
1412 public $nickName;
1413 public $oauthAccessToken;
1414 public $oauthAuthorizationCode;
1415 public $oauthExpireIn;
1416 public $oauthRequestToken;
1417 public $oauthScope;
1418 public $originalEmail;
1419 public $photoUrl;
1420 public $providerId;
1421 public $timeZone;
1422 public $verifiedProvider;
1423
1424
1425 public function setAction($action)
1426 {
1427 $this->action = $action;
1428 }
1429 public function getAction()
1430 {
1431 return $this->action;
1432 }
1433 public function setAppInstallationUrl($appInstallationUrl)
1434 {
1435 $this->appInstallationUrl = $appInstallationUrl;
1436 }
1437 public function getAppInstallationUrl()
1438 {
1439 return $this->appInstallationUrl;
1440 }
1441 public function setAppScheme($appScheme)
1442 {
1443 $this->appScheme = $appScheme;
1444 }
1445 public function getAppScheme()
1446 {
1447 return $this->appScheme;
1448 }
1449 public function setContext($context)
1450 {
1451 $this->context = $context;
1452 }
1453 public function getContext()
1454 {
1455 return $this->context;
1456 }
1457 public function setDateOfBirth($dateOfBirth)
1458 {
1459 $this->dateOfBirth = $dateOfBirth;
1460 }
1461 public function getDateOfBirth()
1462 {
1463 return $this->dateOfBirth;
1464 }
1465 public function setDisplayName($displayName)
1466 {
1467 $this->displayName = $displayName;
1468 }
1469 public function getDisplayName()
1470 {
1471 return $this->displayName;
1472 }
1473 public function setEmail($email)
1474 {
1475 $this->email = $email;
1476 }
1477 public function getEmail()
1478 {
1479 return $this->email;
1480 }
1481 public function setEmailRecycled($emailRecycled)
1482 {
1483 $this->emailRecycled = $emailRecycled;
1484 }
1485 public function getEmailRecycled()
1486 {
1487 return $this->emailRecycled;
1488 }
1489 public function setEmailVerified($emailVerified)
1490 {
1491 $this->emailVerified = $emailVerified;
1492 }
1493 public function getEmailVerified()
1494 {
1495 return $this->emailVerified;
1496 }
1497 public function setFederatedId($federatedId)
1498 {
1499 $this->federatedId = $federatedId;
1500 }
1501 public function getFederatedId()
1502 {
1503 return $this->federatedId;
1504 }
1505 public function setFirstName($firstName)
1506 {
1507 $this->firstName = $firstName;
1508 }
1509 public function getFirstName()
1510 {
1511 return $this->firstName;
1512 }
1513 public function setFullName($fullName)
1514 {
1515 $this->fullName = $fullName;
1516 }
1517 public function getFullName()
1518 {
1519 return $this->fullName;
1520 }
1521 public function setIdToken($idToken)
1522 {
1523 $this->idToken = $idToken;
1524 }
1525 public function getIdToken()
1526 {
1527 return $this->idToken;
1528 }
1529 public function setInputEmail($inputEmail)
1530 {
1531 $this->inputEmail = $inputEmail;
1532 }
1533 public function getInputEmail()
1534 {
1535 return $this->inputEmail;
1536 }
1537 public function setKind($kind)
1538 {
1539 $this->kind = $kind;
1540 }
1541 public function getKind()
1542 {
1543 return $this->kind;
1544 }
1545 public function setLanguage($language)
1546 {
1547 $this->language = $language;
1548 }
1549 public function getLanguage()
1550 {
1551 return $this->language;
1552 }
1553 public function setLastName($lastName)
1554 {
1555 $this->lastName = $lastName;
1556 }
1557 public function getLastName()
1558 {
1559 return $this->lastName;
1560 }
1561 public function setLocalId($localId)
1562 {
1563 $this->localId = $localId;
1564 }
1565 public function getLocalId()
1566 {
1567 return $this->localId;
1568 }
1569 public function setNeedConfirmation($needConfirmation)
1570 {
1571 $this->needConfirmation = $needConfirmation;
1572 }
1573 public function getNeedConfirmation()
1574 {
1575 return $this->needConfirmation;
1576 }
1577 public function setNickName($nickName)
1578 {
1579 $this->nickName = $nickName;
1580 }
1581 public function getNickName()
1582 {
1583 return $this->nickName;
1584 }
1585 public function setOauthAccessToken($oauthAccessToken)
1586 {
1587 $this->oauthAccessToken = $oauthAccessToken;
1588 }
1589 public function getOauthAccessToken()
1590 {
1591 return $this->oauthAccessToken;
1592 }
1593 public function setOauthAuthorizationCode($oauthAuthorizationCode)
1594 {
1595 $this->oauthAuthorizationCode = $oauthAuthorizationCode;
1596 }
1597 public function getOauthAuthorizationCode()
1598 {
1599 return $this->oauthAuthorizationCode;
1600 }
1601 public function setOauthExpireIn($oauthExpireIn)
1602 {
1603 $this->oauthExpireIn = $oauthExpireIn;
1604 }
1605 public function getOauthExpireIn()
1606 {
1607 return $this->oauthExpireIn;
1608 }
1609 public function setOauthRequestToken($oauthRequestToken)
1610 {
1611 $this->oauthRequestToken = $oauthRequestToken;
1612 }
1613 public function getOauthRequestToken()
1614 {
1615 return $this->oauthRequestToken;
1616 }
1617 public function setOauthScope($oauthScope)
1618 {
1619 $this->oauthScope = $oauthScope;
1620 }
1621 public function getOauthScope()
1622 {
1623 return $this->oauthScope;
1624 }
1625 public function setOriginalEmail($originalEmail)
1626 {
1627 $this->originalEmail = $originalEmail;
1628 }
1629 public function getOriginalEmail()
1630 {
1631 return $this->originalEmail;
1632 }
1633 public function setPhotoUrl($photoUrl)
1634 {
1635 $this->photoUrl = $photoUrl;
1636 }
1637 public function getPhotoUrl()
1638 {
1639 return $this->photoUrl;
1640 }
1641 public function setProviderId($providerId)
1642 {
1643 $this->providerId = $providerId;
1644 }
1645 public function getProviderId()
1646 {
1647 return $this->providerId;
1648 }
1649 public function setTimeZone($timeZone)
1650 {
1651 $this->timeZone = $timeZone;
1652 }
1653 public function getTimeZone()
1654 {
1655 return $this->timeZone;
1656 }
1657 public function setVerifiedProvider($verifiedProvider)
1658 {
1659 $this->verifiedProvider = $verifiedProvider;
1660 }
1661 public function getVerifiedProvider()
1662 {
1663 return $this->verifiedProvider;
1664 }
1665 }
1666
1667 class Google_Service_IdentityToolkit_VerifyPasswordResponse extends Google_Model
1668 {
1669 protected $internal_gapi_mappings = array(
1670 );
1671 public $displayName;
1672 public $email;
1673 public $idToken;
1674 public $kind;
1675 public $localId;
1676 public $photoUrl;
1677 public $registered;
1678
1679
1680 public function setDisplayName($displayName)
1681 {
1682 $this->displayName = $displayName;
1683 }
1684 public function getDisplayName()
1685 {
1686 return $this->displayName;
1687 }
1688 public function setEmail($email)
1689 {
1690 $this->email = $email;
1691 }
1692 public function getEmail()
1693 {
1694 return $this->email;
1695 }
1696 public function setIdToken($idToken)
1697 {
1698 $this->idToken = $idToken;
1699 }
1700 public function getIdToken()
1701 {
1702 return $this->idToken;
1703 }
1704 public function setKind($kind)
1705 {
1706 $this->kind = $kind;
1707 }
1708 public function getKind()
1709 {
1710 return $this->kind;
1711 }
1712 public function setLocalId($localId)
1713 {
1714 $this->localId = $localId;
1715 }
1716 public function getLocalId()
1717 {
1718 return $this->localId;
1719 }
1720 public function setPhotoUrl($photoUrl)
1721 {
1722 $this->photoUrl = $photoUrl;
1723 }
1724 public function getPhotoUrl()
1725 {
1726 return $this->photoUrl;
1727 }
1728 public function setRegistered($registered)
1729 {
1730 $this->registered = $registered;
1731 }
1732 public function getRegistered()
1733 {
1734 return $this->registered;
1735 }
1736 }
1737