📂 File Browser

AgentAI/vendor/google/apiclient-services/src/IdentityToolkit
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 CreateAuthUriResponse.php
▶ Open 📄 View Source
🐘 DeleteAccountResponse.php
▶ Open 📄 View Source
🐘 DownloadAccountResponse.php
▶ Open 📄 View Source
🐘 EmailLinkSigninResponse.php
▶ Open 📄 View Source
🐘 EmailTemplate.php
▶ Open 📄 View Source
🐘 GetAccountInfoResponse.php
▶ Open 📄 View Source
🐘 GetOobConfirmationCodeResponse.php
▶ Open 📄 View Source
🐘 GetRecaptchaParamResponse.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyCreateAuthUriRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyDeleteAccountRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyDownloadAccountRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyEmailLinkSigninRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyGetAccountInfoRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyGetProjectConfigResponse.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyResetPasswordRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySendVerificationCodeRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySendVerificationCodeResponse.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySetAccountInfoRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySetProjectConfigRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySetProjectConfigResponse.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySignOutUserRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySignOutUserResponse.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartySignupNewUserRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyUploadAccountRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyVerifyAssertionRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyVerifyCustomTokenRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyVerifyPasswordRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest.php
▶ Open 📄 View Source
🐘 IdentitytoolkitRelyingpartyVerifyPhoneNumberResponse.php
▶ Open 📄 View Source
🐘 IdpConfig.php
▶ Open 📄 View Source
🐘 Relyingparty.php
▶ Open 📄 View Source
🐘 ResetPasswordResponse.php
▶ Open 📄 View Source
🐘 SetAccountInfoResponse.php
▶ Open 📄 View Source
🐘 SetAccountInfoResponseProviderUserInfo.php
▶ Open 📄 View Source
🐘 SignupNewUserResponse.php
▶ Open 📄 View Source
🐘 UploadAccountResponse.php
▶ Open 📄 View Source
🐘 UploadAccountResponseError.php
▶ Open 📄 View Source
🐘 UserInfo.php
▶ Open 📄 View Source
🐘 UserInfoProviderUserInfo.php
▶ Open 📄 View Source
🐘 VerifyAssertionResponse.php
▶ Open 📄 View Source
🐘 VerifyCustomTokenResponse.php
▶ Open 📄 View Source
🐘 VerifyPasswordResponse.php
▶ Open 📄 View Source

📄 Source: IdentitytoolkitRelyingpartyUploadAccountRequest.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\IdentityToolkit;

class IdentitytoolkitRelyingpartyUploadAccountRequest extends \Google\Collection
{
  protected $collection_key = 'users';
  /**
   * Whether allow overwrite existing account when user local_id exists.
   *
   * @var bool
   */
  public $allowOverwrite;
  /**
   * @var int
   */
  public $blockSize;
  /**
   * The following 4 fields are for standard scrypt algorithm.
   *
   * @var int
   */
  public $cpuMemCost;
  /**
   * GCP project number of the requesting delegated app. Currently only intended
   * for Firebase V1 migration.
   *
   * @var string
   */
  public $delegatedProjectNumber;
  /**
   * @var int
   */
  public $dkLen;
  /**
   * The password hash algorithm.
   *
   * @var string
   */
  public $hashAlgorithm;
  /**
   * Memory cost for hash calculation. Used by scrypt similar algorithms.
   *
   * @var int
   */
  public $memoryCost;
  /**
   * @var int
   */
  public $parallelization;
  /**
   * Rounds for hash calculation. Used by scrypt and similar algorithms.
   *
   * @var int
   */
  public $rounds;
  /**
   * The salt separator.
   *
   * @var string
   */
  public $saltSeparator;
  /**
   * If true, backend will do sanity check(including duplicate email and
   * federated id) when uploading account.
   *
   * @var bool
   */
  public $sanityCheck;
  /**
   * The key for to hash the password.
   *
   * @var string
   */
  public $signerKey;
  /**
   * Specify which project (field value is actually project id) to operate. Only
   * used when provided credential.
   *
   * @var string
   */
  public $targetProjectId;
  protected $usersType = UserInfo::class;
  protected $usersDataType = 'array';

  /**
   * Whether allow overwrite existing account when user local_id exists.
   *
   * @param bool $allowOverwrite
   */
  public function setAllowOverwrite($allowOverwrite)
  {
    $this->allowOverwrite = $allowOverwrite;
  }
  /**
   * @return bool
   */
  public function getAllowOverwrite()
  {
    return $this->allowOverwrite;
  }
  /**
   * @param int $blockSize
   */
  public function setBlockSize($blockSize)
  {
    $this->blockSize = $blockSize;
  }
  /**
   * @return int
   */
  public function getBlockSize()
  {
    return $this->blockSize;
  }
  /**
   * The following 4 fields are for standard scrypt algorithm.
   *
   * @param int $cpuMemCost
   */
  public function setCpuMemCost($cpuMemCost)
  {
    $this->cpuMemCost = $cpuMemCost;
  }
  /**
   * @return int
   */
  public function getCpuMemCost()
  {
    return $this->cpuMemCost;
  }
  /**
   * GCP project number of the requesting delegated app. Currently only intended
   * for Firebase V1 migration.
   *
   * @param string $delegatedProjectNumber
   */
  public function setDelegatedProjectNumber($delegatedProjectNumber)
  {
    $this->delegatedProjectNumber = $delegatedProjectNumber;
  }
  /**
   * @return string
   */
  public function getDelegatedProjectNumber()
  {
    return $this->delegatedProjectNumber;
  }
  /**
   * @param int $dkLen
   */
  public function setDkLen($dkLen)
  {
    $this->dkLen = $dkLen;
  }
  /**
   * @return int
   */
  public function getDkLen()
  {
    return $this->dkLen;
  }
  /**
   * The password hash algorithm.
   *
   * @param string $hashAlgorithm
   */
  public function setHashAlgorithm($hashAlgorithm)
  {
    $this->hashAlgorithm = $hashAlgorithm;
  }
  /**
   * @return string
   */
  public function getHashAlgorithm()
  {
    return $this->hashAlgorithm;
  }
  /**
   * Memory cost for hash calculation. Used by scrypt similar algorithms.
   *
   * @param int $memoryCost
   */
  public function setMemoryCost($memoryCost)
  {
    $this->memoryCost = $memoryCost;
  }
  /**
   * @return int
   */
  public function getMemoryCost()
  {
    return $this->memoryCost;
  }
  /**
   * @param int $parallelization
   */
  public function setParallelization($parallelization)
  {
    $this->parallelization = $parallelization;
  }
  /**
   * @return int
   */
  public function getParallelization()
  {
    return $this->parallelization;
  }
  /**
   * Rounds for hash calculation. Used by scrypt and similar algorithms.
   *
   * @param int $rounds
   */
  public function setRounds($rounds)
  {
    $this->rounds = $rounds;
  }
  /**
   * @return int
   */
  public function getRounds()
  {
    return $this->rounds;
  }
  /**
   * The salt separator.
   *
   * @param string $saltSeparator
   */
  public function setSaltSeparator($saltSeparator)
  {
    $this->saltSeparator = $saltSeparator;
  }
  /**
   * @return string
   */
  public function getSaltSeparator()
  {
    return $this->saltSeparator;
  }
  /**
   * If true, backend will do sanity check(including duplicate email and
   * federated id) when uploading account.
   *
   * @param bool $sanityCheck
   */
  public function setSanityCheck($sanityCheck)
  {
    $this->sanityCheck = $sanityCheck;
  }
  /**
   * @return bool
   */
  public function getSanityCheck()
  {
    return $this->sanityCheck;
  }
  /**
   * The key for to hash the password.
   *
   * @param string $signerKey
   */
  public function setSignerKey($signerKey)
  {
    $this->signerKey = $signerKey;
  }
  /**
   * @return string
   */
  public function getSignerKey()
  {
    return $this->signerKey;
  }
  /**
   * Specify which project (field value is actually project id) to operate. Only
   * used when provided credential.
   *
   * @param string $targetProjectId
   */
  public function setTargetProjectId($targetProjectId)
  {
    $this->targetProjectId = $targetProjectId;
  }
  /**
   * @return string
   */
  public function getTargetProjectId()
  {
    return $this->targetProjectId;
  }
  /**
   * The account info to be stored.
   *
   * @param UserInfo[] $users
   */
  public function setUsers($users)
  {
    $this->users = $users;
  }
  /**
   * @return UserInfo[]
   */
  public function getUsers()
  {
    return $this->users;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IdentitytoolkitRelyingpartyUploadAccountRequest::class, 'Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest');
← Back