[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> IdentityToolkit.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1