Class Token
JSON template for token resource in Directory API.
Implements
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1.Data
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class Token : IDirectResponseSchema
Properties
Anonymous
Whether the application is registered with Google. The value is true
if the application has an anonymous
Client ID.
Declaration
[JsonProperty("anonymous")]
public virtual bool? Anonymous { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ClientId
The Client ID of the application the token is issued to.
Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayText
The displayable name of the application the token is issued to.
Declaration
[JsonProperty("displayText")]
public virtual string DisplayText { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
ETag of the resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
The type of the API resource. This is always admin#directory#token
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
NativeApp
Whether the token is issued to an installed application. The value is true
if the application is installed
to a desktop or mobile device.
Declaration
[JsonProperty("nativeApp")]
public virtual bool? NativeApp { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Scopes
A list of authorization scopes the application is granted.
Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
UserKey
The unique ID of the user that issued the token.
Declaration
[JsonProperty("userKey")]
public virtual string UserKey { get; set; }
Property Value
Type | Description |
---|---|
string |