Generate Authentication Token
|
|||||
|
|
Generates an authentication token which the device policy client can use to provision the given EMM-managed user account on a device. The generated token is single-use and expires after a few minutes.
You can provision a maximum of 10 devices per user.
This call only works with EMM-managed accounts
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Manage corporate Android devices
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
enterpriseId Required |
STRING |
The ID of the enterprise |
userId Required |
STRING |
The ID of the user |
= Parameter name
= Format
enterpriseId STRING Required The ID of the enterprise |
userId STRING Required The ID of the user |
Output
This building block provides 2 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#authenticationToken" |
token |
STRING |
The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was generated |
= Parameter name
= Format
kind STRING Identifies what kind of resource this is. Value: the fixed string "androidenterprise#authenticationToken" |
token STRING The authentication token to be passed to the device policy client on the device where it can be used to provision the account for which this token was generated |