SigninDetail class
A resource containing sign in details for an enterprise.
Use enterprises to manage SigninDetails for a given enterprise.For an enterprise, we can have any number of SigninDetails that is uniquely identified by combination of the following three fields (signin_url, allow_personal_usage, token_tag). One cannot create two SigninDetails with the same (signin_url, allow_personal_usage, token_tag). (token_tag is an optional field).Patch: The operation updates the current list of SigninDetails with the new list of SigninDetails. If the stored SigninDetail configuration is passed, it returns the same signin_enrollment_token and qr_code. If we pass multiple identical SigninDetail configurations that are not stored, it will store the first one amongst those SigninDetail configurations. if the configuration already exists we cannot request it more than once in a particular patch API call, otherwise it will give a duplicate key error and the whole operation will fail. If we remove certain SigninDetail configuration from the request then it will get removed from the storage. We can then request another signin_enrollment_token and qr_code for the same SigninDetail configuration.
Constructors
- SigninDetail({String? allowPersonalUsage, String? qrCode, String? signinEnrollmentToken, String? signinUrl, String? tokenTag})
- SigninDetail.fromJson(Map json_)
Properties
- 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
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- signinEnrollmentToken ↔ String?
-
An enterprise wide enrollment token used to trigger custom sign-in flow.
getter/setter pair
- signinUrl ↔ String?
-
Sign-in URL for authentication when device is provisioned with a sign-in
enrollment token.
getter/setter pair
- tokenTag ↔ String?
-
An EMM-specified metadata to distinguish between instances of
SigninDetail.
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