Class SigninDetail
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.
Implements
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class SigninDetail : IDirectResponseSchema
Properties
AllowPersonalUsage
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. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device.
Declaration
[JsonProperty("allowPersonalUsage")]
public virtual string AllowPersonalUsage { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultStatus
Optional. Whether the sign-in URL should be used by default for the enterprise. The SigninDetail with defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT is used for Google account enrollment method. Only one of an enterprise's signinDetails can have defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT. If an Enterprise has at least one signinDetails and none of them have defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT then the first one from the list is selected and has set defaultStatus to SIGNIN_DETAIL_IS_DEFAULT. If no signinDetails specified for the Enterprise then the Google Account device enrollment will fail.
Declaration
[JsonProperty("defaultStatus")]
public virtual string DefaultStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
QrCode
A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server.
Declaration
[JsonProperty("qrCode")]
public virtual string QrCode { get; set; }
Property Value
Type | Description |
---|---|
string |
SigninEnrollmentToken
An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server.
Declaration
[JsonProperty("signinEnrollmentToken")]
public virtual string SigninEnrollmentToken { get; set; }
Property Value
Type | Description |
---|---|
string |
SigninUrl
Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login.
Declaration
[JsonProperty("signinUrl")]
public virtual string SigninUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
TokenTag
An EMM-specified metadata to distinguish between instances of SigninDetail.
Declaration
[JsonProperty("tokenTag")]
public virtual string TokenTag { get; set; }
Property Value
Type | Description |
---|---|
string |