📂 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: IdpConfig.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 IdpConfig extends \Google\Collection
{
  protected $collection_key = 'whitelistedAudiences';
  /**
   * OAuth2 client ID.
   *
   * @var string
   */
  public $clientId;
  /**
   * Whether this IDP is enabled.
   *
   * @var bool
   */
  public $enabled;
  /**
   * Percent of users who will be prompted/redirected federated login for this
   * IDP.
   *
   * @var int
   */
  public $experimentPercent;
  /**
   * OAuth2 provider.
   *
   * @var string
   */
  public $provider;
  /**
   * OAuth2 client secret.
   *
   * @var string
   */
  public $secret;
  /**
   * Whitelisted client IDs for audience check.
   *
   * @var string[]
   */
  public $whitelistedAudiences;

  /**
   * OAuth2 client ID.
   *
   * @param string $clientId
   */
  public function setClientId($clientId)
  {
    $this->clientId = $clientId;
  }
  /**
   * @return string
   */
  public function getClientId()
  {
    return $this->clientId;
  }
  /**
   * Whether this IDP is enabled.
   *
   * @param bool $enabled
   */
  public function setEnabled($enabled)
  {
    $this->enabled = $enabled;
  }
  /**
   * @return bool
   */
  public function getEnabled()
  {
    return $this->enabled;
  }
  /**
   * Percent of users who will be prompted/redirected federated login for this
   * IDP.
   *
   * @param int $experimentPercent
   */
  public function setExperimentPercent($experimentPercent)
  {
    $this->experimentPercent = $experimentPercent;
  }
  /**
   * @return int
   */
  public function getExperimentPercent()
  {
    return $this->experimentPercent;
  }
  /**
   * OAuth2 provider.
   *
   * @param string $provider
   */
  public function setProvider($provider)
  {
    $this->provider = $provider;
  }
  /**
   * @return string
   */
  public function getProvider()
  {
    return $this->provider;
  }
  /**
   * OAuth2 client secret.
   *
   * @param string $secret
   */
  public function setSecret($secret)
  {
    $this->secret = $secret;
  }
  /**
   * @return string
   */
  public function getSecret()
  {
    return $this->secret;
  }
  /**
   * Whitelisted client IDs for audience check.
   *
   * @param string[] $whitelistedAudiences
   */
  public function setWhitelistedAudiences($whitelistedAudiences)
  {
    $this->whitelistedAudiences = $whitelistedAudiences;
  }
  /**
   * @return string[]
   */
  public function getWhitelistedAudiences()
  {
    return $this->whitelistedAudiences;
  }
}

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