Create Web Token
|
|||||
|
|
Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information
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 15 input parameters
Name | Format | Description |
---|---|---|
enterpriseId Required |
STRING |
The ID of the enterprise |
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#administratorWebTokenSpec" |
managedConfigurations |
OBJECT |
|
managedConfigurations.enabled |
BOOLEAN |
Whether the Managed Configuration page is displayed. Default is true |
parent |
STRING |
The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https |
permission[] |
STRING |
|
playSearch |
OBJECT |
|
playSearch.approveApps |
BOOLEAN |
Allow access to the iframe in approve mode. Default is false |
playSearch.enabled |
BOOLEAN |
Whether the managed Play Search apps page is displayed. Default is true |
privateApps |
OBJECT |
|
privateApps.enabled |
BOOLEAN |
Whether the Private Apps page is displayed. Default is true |
storeBuilder |
OBJECT |
|
storeBuilder.enabled |
BOOLEAN |
Whether the Organize apps page is displayed. Default is true |
webApps |
OBJECT |
|
webApps.enabled |
BOOLEAN |
Whether the Web Apps page is displayed. Default is true |
= Parameter name
= Format
enterpriseId STRING Required The ID of the enterprise |
kind STRING Identifies what kind of resource this is. Value: the fixed string "androidenterprise#administratorWebTokenSpec" |
managedConfigurations OBJECT |
managedConfigurations.enabled BOOLEAN Whether the Managed Configuration page is displayed. Default is true |
parent STRING The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may not be hosted at other URIs. This URI must be https |
permission[] STRING |
playSearch OBJECT |
playSearch.approveApps BOOLEAN Allow access to the iframe in approve mode. Default is false |
playSearch.enabled BOOLEAN Whether the managed Play Search apps page is displayed. Default is true |
privateApps OBJECT |
privateApps.enabled BOOLEAN Whether the Private Apps page is displayed. Default is true |
storeBuilder OBJECT |
storeBuilder.enabled BOOLEAN Whether the Organize apps page is displayed. Default is true |
webApps OBJECT |
webApps.enabled BOOLEAN Whether the Web Apps page is displayed. Default is true |
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#administratorWebToken" |
token |
STRING |
An opaque token to be passed to the Play front-end to generate an iframe |
= Parameter name
= Format
kind STRING Identifies what kind of resource this is. Value: the fixed string "androidenterprise#administratorWebToken" |
token STRING An opaque token to be passed to the Play front-end to generate an iframe |