Skip to main content

tokens

Overview

Nametokens
TypeResource
Idgoogleadmin.directory.tokens

Fields

NameDatatypeDescription
anonymousbooleanWhether the application is registered with Google. The value is true if the application has an anonymous Client ID.
clientIdstringThe Client ID of the application the token is issued to.
displayTextstringThe displayable name of the application the token is issued to.
etagstringETag of the resource.
kindstringThe type of the API resource. This is always admin#directory#token.
nativeAppbooleanWhether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device.
scopesarrayA list of authorization scopes the application is granted.
userKeystringThe unique ID of the user that issued the token.

Methods

NameAccessible byRequired ParamsDescription
getSELECTclientId, userKeyGets information about an access token issued by a user.
listSELECTuserKeyReturns the set of tokens specified user has issued to 3rd party applications.
deleteDELETEclientId, userKeyDeletes all access tokens issued by a user for an application.