Token class

JSON template for token resource in Directory API.


Token.fromJson(Map _json)


anonymous ↔ bool
Whether the application is registered with Google. The value is true if the application has an anonymous Client ID.
read / write
clientId ↔ String
The Client ID of the application the token is issued to.
read / write
displayText ↔ String
The displayable name of the application the token is issued to.
read / write
etag ↔ String
ETag of the resource.
read / write
kind ↔ String
The type of the API resource. This is always admin#directory#token.
read / write
nativeApp ↔ bool
Whether the token is issued to an installed application. The value is true if the application is installed to a desktop or mobile device.
read / write
scopes ↔ List<String>
A list of authorization scopes the application is granted.
read / write
userKey ↔ String
The unique ID of the user that issued the token.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.