Class TokensResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "tokens" collection of methods.
public class TokensResource
- Inheritance
-
TokensResource
- Inherited Members
Constructors
TokensResource(IClientService)
Constructs a new resource.
public TokensResource(IClientService service)
Parameters
service
IClientService
Methods
Delete(string, string)
Delete all access tokens issued by a user for an application.
public virtual TokensResource.DeleteRequest Delete(string userKey, string clientId)
Parameters
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
clientId
stringThe Client ID of the application the token is issued to.
Returns
Get(string, string)
Get information about an access token issued by a user.
public virtual TokensResource.GetRequest Get(string userKey, string clientId)
Parameters
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
clientId
stringThe Client ID of the application the token is issued to.
Returns
List(string)
Returns the set of tokens specified user has issued to 3rd party applications.
public virtual TokensResource.ListRequest List(string userKey)
Parameters
userKey
stringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.