Skip to content

Commit c4187c9

Browse files
committed
Updated IdentityToolkit.php
This change has been generated by a script that has detected changes in the discovery doc of the API. Check http://developers.google.com/discovery for more info.
1 parent 6c120db commit c4187c9

File tree

1 file changed

+106
-0
lines changed

1 file changed

+106
-0
lines changed

src/Google/Service/IdentityToolkit.php

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ public function __construct(Google_Client $client)
7777
'path' => 'publicKeys',
7878
'httpMethod' => 'GET',
7979
'parameters' => array(),
80+
),'getRecaptchaParam' => array(
81+
'path' => 'getRecaptchaParam',
82+
'httpMethod' => 'GET',
83+
'parameters' => array(),
8084
),'resetPassword' => array(
8185
'path' => 'resetPassword',
8286
'httpMethod' => 'POST',
@@ -201,6 +205,19 @@ public function getPublicKeys($optParams = array())
201205
return $this->call('getPublicKeys', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse");
202206
}
203207

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+
204221
/**
205222
* Reset password for a user. (relyingparty.resetPassword)
206223
*
@@ -445,6 +462,41 @@ public function getOobCode()
445462
}
446463
}
447464

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+
448500
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest extends Google_Model
449501
{
450502
protected $internal_gapi_mappings = array(
@@ -454,6 +506,8 @@ class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriReq
454506
public $context;
455507
public $continueUri;
456508
public $identifier;
509+
public $oauthConsumerKey;
510+
public $oauthScope;
457511
public $openidRealm;
458512
public $otaApp;
459513
public $providerId;
@@ -499,6 +553,22 @@ public function getIdentifier()
499553
{
500554
return $this->identifier;
501555
}
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+
}
502572
public function setOpenidRealm($openidRealm)
503573
{
504574
$this->openidRealm = $openidRealm;
@@ -831,6 +901,7 @@ class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionR
831901
public $pendingIdToken;
832902
public $postBody;
833903
public $requestUri;
904+
public $returnRefreshToken;
834905

835906

836907
public function setPendingIdToken($pendingIdToken)
@@ -857,6 +928,14 @@ public function getRequestUri()
857928
{
858929
return $this->requestUri;
859930
}
931+
public function setReturnRefreshToken($returnRefreshToken)
932+
{
933+
$this->returnRefreshToken = $returnRefreshToken;
934+
}
935+
public function getReturnRefreshToken()
936+
{
937+
return $this->returnRefreshToken;
938+
}
860939
}
861940

862941
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest extends Google_Model
@@ -1331,6 +1410,9 @@ class Google_Service_IdentityToolkit_VerifyAssertionResponse extends Google_Coll
13311410
public $localId;
13321411
public $needConfirmation;
13331412
public $nickName;
1413+
public $oauthAccessToken;
1414+
public $oauthAuthorizationCode;
1415+
public $oauthExpireIn;
13341416
public $oauthRequestToken;
13351417
public $oauthScope;
13361418
public $originalEmail;
@@ -1500,6 +1582,30 @@ public function getNickName()
15001582
{
15011583
return $this->nickName;
15021584
}
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+
}
15031609
public function setOauthRequestToken($oauthRequestToken)
15041610
{
15051611
$this->oauthRequestToken = $oauthRequestToken;

0 commit comments

Comments
 (0)