Initial commit
This commit is contained in:
32
vendor/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php
vendored
Normal file
32
vendor/google/apiclient-services/src/Google/Service/Oauth2/Jwk.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Oauth2_Jwk extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'keys';
|
||||
protected $keysType = 'Google_Service_Oauth2_JwkKeys';
|
||||
protected $keysDataType = 'array';
|
||||
|
||||
public function setKeys($keys)
|
||||
{
|
||||
$this->keys = $keys;
|
||||
}
|
||||
public function getKeys()
|
||||
{
|
||||
return $this->keys;
|
||||
}
|
||||
}
|
||||
75
vendor/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php
vendored
Normal file
75
vendor/google/apiclient-services/src/Google/Service/Oauth2/JwkKeys.php
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Oauth2_JwkKeys extends Google_Model
|
||||
{
|
||||
public $alg;
|
||||
public $e;
|
||||
public $kid;
|
||||
public $kty;
|
||||
public $n;
|
||||
public $use;
|
||||
|
||||
public function setAlg($alg)
|
||||
{
|
||||
$this->alg = $alg;
|
||||
}
|
||||
public function getAlg()
|
||||
{
|
||||
return $this->alg;
|
||||
}
|
||||
public function setE($e)
|
||||
{
|
||||
$this->e = $e;
|
||||
}
|
||||
public function getE()
|
||||
{
|
||||
return $this->e;
|
||||
}
|
||||
public function setKid($kid)
|
||||
{
|
||||
$this->kid = $kid;
|
||||
}
|
||||
public function getKid()
|
||||
{
|
||||
return $this->kid;
|
||||
}
|
||||
public function setKty($kty)
|
||||
{
|
||||
$this->kty = $kty;
|
||||
}
|
||||
public function getKty()
|
||||
{
|
||||
return $this->kty;
|
||||
}
|
||||
public function setN($n)
|
||||
{
|
||||
$this->n = $n;
|
||||
}
|
||||
public function getN()
|
||||
{
|
||||
return $this->n;
|
||||
}
|
||||
public function setUse($use)
|
||||
{
|
||||
$this->use = $use;
|
||||
}
|
||||
public function getUse()
|
||||
{
|
||||
return $this->use;
|
||||
}
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Oauth2/Resource/Userinfo.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "userinfo" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $oauth2Service = new Google_Service_Oauth2(...);
|
||||
* $userinfo = $oauth2Service->userinfo;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Oauth2_Resource_Userinfo extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* (userinfo.get)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Oauth2_Userinfoplus
|
||||
*/
|
||||
public function get($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus");
|
||||
}
|
||||
}
|
||||
28
vendor/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php
vendored
Normal file
28
vendor/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "v2" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $oauth2Service = new Google_Service_Oauth2(...);
|
||||
* $v2 = $oauth2Service->v2;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Oauth2_Resource_UserinfoV2 extends Google_Service_Resource
|
||||
{
|
||||
}
|
||||
40
vendor/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php
vendored
Normal file
40
vendor/google/apiclient-services/src/Google/Service/Oauth2/Resource/UserinfoV2Me.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The "me" collection of methods.
|
||||
* Typical usage is:
|
||||
* <code>
|
||||
* $oauth2Service = new Google_Service_Oauth2(...);
|
||||
* $me = $oauth2Service->me;
|
||||
* </code>
|
||||
*/
|
||||
class Google_Service_Oauth2_Resource_UserinfoV2Me extends Google_Service_Resource
|
||||
{
|
||||
/**
|
||||
* (me.get)
|
||||
*
|
||||
* @param array $optParams Optional parameters.
|
||||
* @return Google_Service_Oauth2_Userinfoplus
|
||||
*/
|
||||
public function get($optParams = array())
|
||||
{
|
||||
$params = array();
|
||||
$params = array_merge($params, $optParams);
|
||||
return $this->call('get', array($params), "Google_Service_Oauth2_Userinfoplus");
|
||||
}
|
||||
}
|
||||
110
vendor/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php
vendored
Normal file
110
vendor/google/apiclient-services/src/Google/Service/Oauth2/Tokeninfo.php
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Oauth2_Tokeninfo extends Google_Model
|
||||
{
|
||||
protected $internal_gapi_mappings = array(
|
||||
"accessType" => "access_type",
|
||||
"expiresIn" => "expires_in",
|
||||
"issuedTo" => "issued_to",
|
||||
"tokenHandle" => "token_handle",
|
||||
"userId" => "user_id",
|
||||
"verifiedEmail" => "verified_email",
|
||||
);
|
||||
public $accessType;
|
||||
public $audience;
|
||||
public $email;
|
||||
public $expiresIn;
|
||||
public $issuedTo;
|
||||
public $scope;
|
||||
public $tokenHandle;
|
||||
public $userId;
|
||||
public $verifiedEmail;
|
||||
|
||||
public function setAccessType($accessType)
|
||||
{
|
||||
$this->accessType = $accessType;
|
||||
}
|
||||
public function getAccessType()
|
||||
{
|
||||
return $this->accessType;
|
||||
}
|
||||
public function setAudience($audience)
|
||||
{
|
||||
$this->audience = $audience;
|
||||
}
|
||||
public function getAudience()
|
||||
{
|
||||
return $this->audience;
|
||||
}
|
||||
public function setEmail($email)
|
||||
{
|
||||
$this->email = $email;
|
||||
}
|
||||
public function getEmail()
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
public function setExpiresIn($expiresIn)
|
||||
{
|
||||
$this->expiresIn = $expiresIn;
|
||||
}
|
||||
public function getExpiresIn()
|
||||
{
|
||||
return $this->expiresIn;
|
||||
}
|
||||
public function setIssuedTo($issuedTo)
|
||||
{
|
||||
$this->issuedTo = $issuedTo;
|
||||
}
|
||||
public function getIssuedTo()
|
||||
{
|
||||
return $this->issuedTo;
|
||||
}
|
||||
public function setScope($scope)
|
||||
{
|
||||
$this->scope = $scope;
|
||||
}
|
||||
public function getScope()
|
||||
{
|
||||
return $this->scope;
|
||||
}
|
||||
public function setTokenHandle($tokenHandle)
|
||||
{
|
||||
$this->tokenHandle = $tokenHandle;
|
||||
}
|
||||
public function getTokenHandle()
|
||||
{
|
||||
return $this->tokenHandle;
|
||||
}
|
||||
public function setUserId($userId)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
}
|
||||
public function getUserId()
|
||||
{
|
||||
return $this->userId;
|
||||
}
|
||||
public function setVerifiedEmail($verifiedEmail)
|
||||
{
|
||||
$this->verifiedEmail = $verifiedEmail;
|
||||
}
|
||||
public function getVerifiedEmail()
|
||||
{
|
||||
return $this->verifiedEmail;
|
||||
}
|
||||
}
|
||||
125
vendor/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php
vendored
Normal file
125
vendor/google/apiclient-services/src/Google/Service/Oauth2/Userinfoplus.php
vendored
Normal file
@@ -0,0 +1,125 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 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.
|
||||
*/
|
||||
|
||||
class Google_Service_Oauth2_Userinfoplus extends Google_Model
|
||||
{
|
||||
protected $internal_gapi_mappings = array(
|
||||
"familyName" => "family_name",
|
||||
"givenName" => "given_name",
|
||||
"verifiedEmail" => "verified_email",
|
||||
);
|
||||
public $email;
|
||||
public $familyName;
|
||||
public $gender;
|
||||
public $givenName;
|
||||
public $hd;
|
||||
public $id;
|
||||
public $link;
|
||||
public $locale;
|
||||
public $name;
|
||||
public $picture;
|
||||
public $verifiedEmail;
|
||||
|
||||
public function setEmail($email)
|
||||
{
|
||||
$this->email = $email;
|
||||
}
|
||||
public function getEmail()
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
public function setFamilyName($familyName)
|
||||
{
|
||||
$this->familyName = $familyName;
|
||||
}
|
||||
public function getFamilyName()
|
||||
{
|
||||
return $this->familyName;
|
||||
}
|
||||
public function setGender($gender)
|
||||
{
|
||||
$this->gender = $gender;
|
||||
}
|
||||
public function getGender()
|
||||
{
|
||||
return $this->gender;
|
||||
}
|
||||
public function setGivenName($givenName)
|
||||
{
|
||||
$this->givenName = $givenName;
|
||||
}
|
||||
public function getGivenName()
|
||||
{
|
||||
return $this->givenName;
|
||||
}
|
||||
public function setHd($hd)
|
||||
{
|
||||
$this->hd = $hd;
|
||||
}
|
||||
public function getHd()
|
||||
{
|
||||
return $this->hd;
|
||||
}
|
||||
public function setId($id)
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
public function setLink($link)
|
||||
{
|
||||
$this->link = $link;
|
||||
}
|
||||
public function getLink()
|
||||
{
|
||||
return $this->link;
|
||||
}
|
||||
public function setLocale($locale)
|
||||
{
|
||||
$this->locale = $locale;
|
||||
}
|
||||
public function getLocale()
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
public function setName($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
public function setPicture($picture)
|
||||
{
|
||||
$this->picture = $picture;
|
||||
}
|
||||
public function getPicture()
|
||||
{
|
||||
return $this->picture;
|
||||
}
|
||||
public function setVerifiedEmail($verifiedEmail)
|
||||
{
|
||||
$this->verifiedEmail = $verifiedEmail;
|
||||
}
|
||||
public function getVerifiedEmail()
|
||||
{
|
||||
return $this->verifiedEmail;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user