REST Resource: enterprises.webTokens
منبع: WebToken
رمز وب مورد استفاده برای دسترسی به iframe مدیریت شده Google Play.
نمایندگی JSON |
---|
{
"name": string,
"value": string,
"permissions": [
enum (WebTokenPermission )
],
"parentFrameUrl": string,
"enabledFeatures": [
enum (IframeFeature )
]
} |
فیلدها |
---|
name | string نام رمز وب که در حین ایجاد توسط سرور به شکل enterprises/{enterpriseId}/webTokens/{webTokenId} تولید میشود. |
value | string مقدار رمزی که در صفحه میزبانی برای تولید iframe با رابط کاربری تعبیه شده استفاده می شود. این یک فیلد فقط خواندنی است که توسط سرور ایجاد شده است. |
permissions[] (deprecated) | enum ( WebTokenPermission ) مجوزهای موجود در رابط کاربری تعبیه شده برای یک سرپرست. یک مدیر باید همه این مجوزها را داشته باشد تا بتواند رابط کاربری را مشاهده کند. این فیلد منسوخ شده است. |
parent Frame Url | string نشانی وب قاب والد میزبان iframe با رابط کاربری تعبیهشده. برای جلوگیری از XSS، iframe ممکن است در URL های دیگر میزبانی نشود. URL باید از طرح https استفاده کند. |
enabled Features[] | enum ( IframeFeature ) ویژگی هایی برای فعال کردن اگر می خواهید دقیقاً کنترل کنید کدام ویژگی فعال می شود از این استفاده کنید. برای اجازه دادن به همه ویژگی ها خالی بگذارید. محدودیت ها / موارد قابل توجه: - اگر هیچ ویژگی در اینجا لیست نشده باشد، همه ویژگیها فعال میشوند - این رفتار پیشفرض است که در آن به مدیران خود اجازه دسترسی به همه ویژگیها را میدهید.
- این نباید حاوی هیچ مقدار
FEATURE_UNSPECIFIED باشد. - مقادیر تکرار شده نادیده گرفته می شوند
|
WebTokenPermission
مجوزهای موجود در Google Play iframe مدیریت شده برای یک سرپرست.
Enums |
---|
WEB_TOKEN_PERMISSION_UNSPECIFIED | این مقدار نادیده گرفته می شود. |
APPROVE_APPS | مجوز تأیید برنامهها برای شرکت. |
ویژگی Iframe
این ویژگی از طریق iframe در دسترس است که این WebToken به آن دسترسی خواهد داشت.
روش ها |
---|
| یک نشانه وب برای دسترسی به رابط کاربری وب مدیریت شده Google Play قابل جاسازی برای یک شرکت خاص ایجاد می کند. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-19 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-19 بهوقت ساعت هماهنگ جهانی."],[[["A WebToken is used to access the managed Google Play iframe and allows admins to perform tasks within the embedded UI, such as approving apps or managing configurations."],["The WebToken includes fields such as the token value, permissions, and enabled features which determine the functionalities available to the admin."],["You can specify the parent frame URL where the iframe will be hosted and the specific features that should be enabled within the iframe for the admin."],["The `permissions` field in `WebToken` is deprecated and the `enabledFeatures` field should be used to control functionalities instead."]]],["A web token is used to access the managed Google Play iframe, with a server-generated `name` and `value`. The `parentFrameUrl` specifies the hosting URL, using HTTPS. The `enabledFeatures` field determines iframe functionality, such as `PLAY_SEARCH`, `PRIVATE_APPS`, or `STORE_BUILDER`. The deprecated `permissions` field controlled admin access to UI elements like app approvals. `WebTokenPermission` defines permissions like `APPROVE_APPS`, while `IframeFeature` lists available features. A web token can be created for a given enterprise using the `create` method.\n"]]