public class Directory.Tokens
extends java.lang.Object
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(java.lang.String userKey,
java.lang.String clientId)
Delete all access tokens issued by a user for an application.
|
Directory.Tokens.Get |
get(java.lang.String userKey,
java.lang.String clientId)
Get information about an access token issued by a user.
|
Directory.Tokens.List |
list(java.lang.String userKey)
Returns the set of tokens specified user has issued to 3rd party applications.
|
public Directory.Tokens.Delete delete(java.lang.String userKey, java.lang.String clientId) throws java.io.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.java.io.IOException
public Directory.Tokens.Get get(java.lang.String userKey, java.lang.String clientId) throws java.io.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.java.io.IOException
public Directory.Tokens.List list(java.lang.String userKey) throws java.io.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.java.io.IOException