|
| __get ($key) |
| Getter that handles passthrough access to the data array, and lazy object creation.
|
|
| __isset ($key) |
|
| __unset ($key) |
|
| assertIsArray ($obj, $method) |
| Verify if $obj is an array.
|
|
| getAccessType () |
|
| getAudience () |
|
| getEmail () |
|
| getExpiresIn () |
|
| getIssuedTo () |
|
| getScope () |
|
| getTokenHandle () |
|
| getUserId () |
|
| getVerifiedEmail () |
|
| offsetExists ($offset) |
|
| offsetGet ($offset) |
|
| offsetSet ($offset, $value) |
|
| offsetUnset ($offset) |
|
| setAccessType ($accessType) |
|
| setAudience ($audience) |
|
| setEmail ($email) |
|
| setExpiresIn ($expiresIn) |
|
| setIssuedTo ($issuedTo) |
|
| setScope ($scope) |
|
| setTokenHandle ($tokenHandle) |
|
| setUserId ($userId) |
|
| setVerifiedEmail ($verifiedEmail) |
|
| toSimpleObject () |
| Create a simplified object suitable for straightforward conversion to JSON.
|
|
|
| $accessType |
|
| $audience |
|
| $email |
|
| $expiresIn |
|
| $issuedTo |
|
| $scope |
|
| $tokenHandle |
|
| $userId |
|
| $verifiedEmail |
|
const | NULL_VALUE = "{}gapi-php-null" |
| If you need to specify a NULL JSON value, use Google_Model\NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
|
|
|
| dataType ($key) |
|
| gapiInit () |
| Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
|
|
| isAssociativeArray ($array) |
| Returns true only if the array is associative.
|
|
| keyType ($key) |
|
| mapTypes ($array) |
| Initialize this object's properties from an array.
|
|
◆ __get()
Google_Model::__get |
( |
| $key | ) |
|
|
inherited |
Getter that handles passthrough access to the data array, and lazy object creation.
- Parameters
-
- Return values
-
mixed | The value if any, or null. |
◆ assertIsArray()
Google_Model::assertIsArray |
( |
| $obj, |
|
|
| $method ) |
|
inherited |
Verify if $obj is an array.
- Exceptions
-
- Parameters
-
array | $obj | Items that should be validated. |
string | $method | Method expecting an array as an argument. |
◆ gapiInit()
Google_Model::gapiInit |
( |
| ) |
|
|
protectedinherited |
◆ isAssociativeArray()
Google_Model::isAssociativeArray |
( |
| $array | ) |
|
|
protectedinherited |
Returns true only if the array is associative.
- Parameters
-
- Return values
-
bool | True if the array is associative. |
◆ mapTypes()
Google_Model::mapTypes |
( |
| $array | ) |
|
|
protectedinherited |
Initialize this object's properties from an array.
- Parameters
-
array | $array | Used to seed this object's properties. |
- Return values
-
◆ toSimpleObject()
Google_Model::toSimpleObject |
( |
| ) |
|
|
inherited |
Create a simplified object suitable for straightforward conversion to JSON.
This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
◆ $internal_gapi_mappings
Google_Service_Oauth2_Tokeninfo::$internal_gapi_mappings |
|
protected |
Initial value:= array(
"accessType" => "access_type",
"expiresIn" => "expires_in",
"issuedTo" => "issued_to",
"tokenHandle" => "token_handle",
"userId" => "user_id",
"verifiedEmail" => "verified_email",
)
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Oauth2.php