Modifier and Type | Class and Description |
---|---|
class |
Directory.Tokens.Delete |
class |
Directory.Tokens.Get |
class |
Directory.Tokens.List |
Constructor and Description |
---|
Tokens() |
Modifier and Type | Method and Description |
---|---|
Directory.Tokens.Delete |
delete(String userKey,
String clientId)
Delete all access tokens issued by a user for an application.
|
Directory.Tokens.Get |
get(String userKey,
String clientId)
Get information about an access token issued by a user.
|
Directory.Tokens.List |
list(String userKey)
Returns the set of tokens specified user has issued to 3rd party applications.
|
public Directory.Tokens.Delete delete(String userKey, String clientId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.clientId
- The Client ID of the application the token is issued to.IOException
public Directory.Tokens.Get get(String userKey, String clientId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.clientId
- The Client ID of the application the token is issued to.IOException
public Directory.Tokens.List list(String userKey) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.IOException
Copyright © 2011–2021 Google. All rights reserved.