create
public AndroidEnterprise.EnrollmentTokens.Create create(String enterpriseId,
EnrollmentToken content)
throws IOException
Returns a token for device enrollment. The DPC can encode this token within the QR/NFC/zero-touch
enrollment payload or fetch it before calling the on-device API to authenticate the user. The
token can be generated for each device or reused across multiple devices.
Create a request for the method "enrollmentTokens.create".
This request holds the parameters needed by the androidenterprise server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
enterpriseId - Required. The ID of the enterprise.
content - the EnrollmentToken
- Returns:
- the request
- Throws:
IOException