JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "IdpConfig.php"
Full Path: /home/u735268861/domains/palsarh.in/public_html/vendor/google/apiclient-services/src/IdentityToolkit/IdpConfig.php
File size: 3.14 KB
MIME-type: text/x-php
Charset: utf-8
<?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');