EnrollmentToken class

A token used to enroll a device.

Constructors

EnrollmentToken({String? duration, String? enrollmentTokenType, EnrollmentTokenGoogleAuthenticationOptions? googleAuthenticationOptions, String? token})
EnrollmentToken.fromJson(Map json_)

Properties

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
enrollmentTokenType ↔ String?
The type of the enrollment token.
getter/setter pair
googleAuthenticationOptions ↔ EnrollmentTokenGoogleAuthenticationOptions?
Provides options related to Google authentication during the enrollment.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token ↔ 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