EnrollmentToken class
An enrollment token.
Constructors
Properties
- additionalData ↔ String?
-
Optional, arbitrary data associated with the enrollment token.
getter/setter pair
- allowPersonalUsage ↔ String?
-
Controls whether personal usage is allowed on a device provisioned with
this enrollment token.For company-owned devices: Enabling personal usage
allows the user to set up a work profile on the device.
getter/setter pair
- duration ↔ String?
-
The length of time the enrollment token is valid, ranging from 1 minute to
Durations.MAX_VALUE
(https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE),
approximately 10,000 years.
getter/setter pair
- expirationTimestamp ↔ String?
-
The expiration time of the token.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name of the enrollment token, which is generated by the server during
creation, in the form
enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.
getter/setter pair
- oneTimeOnly ↔ bool?
-
Whether the enrollment token is for one time use only.
getter/setter pair
- policyName ↔ String?
-
The name of the policy initially applied to the enrolled device, in the
form enterprises/{enterpriseId}/policies/{policyId}.
getter/setter pair
- qrCode ↔ String?
-
A JSON string whose UTF-8 representation can be used to generate a QR code
to enroll a device with this enrollment token.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- user ↔ User?
-
The user associated with this enrollment token.
getter/setter pair
- value ↔ String?
-
The token value that's passed to the device and authorizes the device to
enroll.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited