如需定义授予应用的访问权限级别,您需要确定并声明授权范围。授权范围是一个 OAuth 2.0 URI 字符串,其中包含 Google Workspace 应用名称、应用访问的数据类型以及访问权限级别。范围是您的应用对 Google Workspace 数据(包括用户的 Google 账号数据)的请求。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["This document provides specific authentication and authorization details for the Enterprise License Manager API within Google Workspace."],["Before using this API, you should familiarize yourself with Google Workspace's general authentication and authorization process."],["To control data access, configure OAuth 2.0 scopes, specifying the level of access your application needs to Google Workspace data."],["The `https://www.googleapis.com/auth/apps.licensing` scope grants read/write access to the Enterprise License Manager API."],["Public applications using specific scopes might require a verification process; refer to the provided links for more information on unverified apps."]]],["To utilize the Enterprise License Manager API, configure OAuth 2.0, including defining the OAuth consent screen and registering your app. Specify authorization scopes to determine the app's access level to Google Workspace data. Select the most specific scopes required, as users prefer limited, clearly defined permissions. Public applications requesting access to user data must undergo a verification process to avoid being flagged as \"unverified.\" The API uses `https://www.googleapis.com/auth/apps.licensing` for read/write access.\n"]]