Resource: Token
JSON template for token resource in Directory API.
JSON representation |
---|
{ "clientId" : string , "scopes" : [ string ] , "userKey" : string , "anonymous" : boolean , "displayText" : string , "nativeApp" : boolean , "kind" : string , "etag" : string } |
Fields | |
---|---|
clientId
|
The Client ID of the application the token is issued to. |
scopes[]
|
A list of authorization scopes the application is granted. |
userKey
|
The unique ID of the user that issued the token. |
anonymous
|
Whether the application is registered with Google. The value is |
displayText
|
The displayable name of the application the token is issued to. |
nativeApp
|
Whether the token is issued to an installed application. The value is |
kind
|
The type of the API resource. This is always |
etag
|
ETag of the resource. |
Methods |
|
---|---|
|
Deletes all access tokens issued by a user for an application. |
|
Gets information about an access token issued by a user. |
|
Returns the set of tokens specified user has issued to 3rd party applications. |