Tài liệu này chứa thông tin xác thực và thông tin uỷ quyền dành riêng cho API Trình quản lý giấy phép doanh nghiệp. Trước khi đọc tài liệu này, hãy nhớ đọc thông tin chung về xác thực và uỷ quyền của Google Workspace trong bài viết Tìm hiểu về quy trình xác thực và uỷ quyền.
Để xác định cấp truy cập được cấp cho ứng dụng của mình, bạn cần xác định và khai báo phạm vi ủy quyền. Phạm vi uỷ quyền là một chuỗi URI OAuth 2.0 chứa tên ứng dụng Google Workspace, loại dữ liệu mà ứng dụng truy cập và cấp truy cập. Phạm vi là các yêu cầu của ứng dụng để làm việc với dữ liệu Google Workspace, bao gồm cả
dữ liệu Tài khoản Google của người dùng.
Khi cài đặt ứng dụng, người dùng sẽ được yêu cầu xác thực các phạm vi mà ứng dụng dùng. Nhìn chung, bạn nên chọn phạm vi tập trung hẹp nhất có thể và tránh yêu cầu các phạm vi mà ứng dụng không yêu cầu. Người dùng có thể sẵn sàng cấp quyền truy cập vào các phạm vi giới hạn được mô tả rõ ràng hơn.
API Enterprise License Manager hỗ trợ các phạm vi sau:
Phạm vi
Ý nghĩa
https://www.googleapis.com/auth/apps.licensing
Quyền truy cập đọc/ghi vào API Enterprise License Manager.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-29 UTC."],[[["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"]]