The "tokens" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($userKey, $clientId, $optParams=array()) |
| Delete all access tokens issued by a user for an application.
|
|
| get ($userKey, $clientId, $optParams=array()) |
| Get information about an access token issued by a user.
|
|
| listTokens ($userKey, $optParams=array()) |
| Returns the set of tokens specified user has issued to 3rd party applications.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "tokens" collection of methods.
Typical usage is: $adminService = new Google_Service_Directory(...); $tokens = $adminService->tokens;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ delete()
Google_Service_Directory_Tokens_Resource::delete |
( |
| $userKey, |
|
|
| $clientId, |
|
|
| $optParams = array() ) |
Delete all access tokens issued by a user for an application.
(tokens.delete)
- Parameters
-
string | $userKey | Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. |
string | $clientId | The Client ID of the application the token is issued to. |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Directory_Tokens_Resource::get |
( |
| $userKey, |
|
|
| $clientId, |
|
|
| $optParams = array() ) |
Get information about an access token issued by a user.
(tokens.get)
- Parameters
-
string | $userKey | Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. |
string | $clientId | The Client ID of the application the token is issued to. |
array | $optParams | Optional parameters. |
- Return values
-
◆ listTokens()
Google_Service_Directory_Tokens_Resource::listTokens |
( |
| $userKey, |
|
|
| $optParams = array() ) |
Returns the set of tokens specified user has issued to 3rd party applications.
(tokens.listTokens)
- Parameters
-
string | $userKey | Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID. |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Directory.php