Get
|
|||||
|
|
Get information about an access token issued by a user
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage data access permissions for users on your domain
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
userKey Required |
STRING |
Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID |
clientId Required |
STRING |
The Client ID of the application the token is issued to |
= Parameter name
= Format
userKey STRING Required Identifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID |
clientId STRING Required The Client ID of the application the token is issued to |
Output
This building block provides 8 output parameters
Name | Format | Description |
---|---|---|
etag |
STRING |
ETag of the resource |
userKey |
STRING |
The unique ID of the user that issued the token |
scopes[] |
STRING |
|
nativeApp |
BOOLEAN |
Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device |
displayText |
STRING |
The displayable name of the application the token is issued to |
kind |
STRING |
The type of the API resource. This is always admin#directory#token |
anonymous |
BOOLEAN |
Whether the application is registered with Google. The value is true if the application has an anonymous Client ID |
clientId |
STRING |
The Client ID of the application the token is issued to |
= Parameter name
= Format
etag STRING ETag of the resource |
userKey STRING The unique ID of the user that issued the token |
scopes[] STRING |
nativeApp BOOLEAN Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device |
displayText STRING The displayable name of the application the token is issued to |
kind STRING The type of the API resource. This is always admin#directory#token |
anonymous BOOLEAN Whether the application is registered with Google. The value is true if the application has an anonymous Client ID |
clientId STRING The Client ID of the application the token is issued to |