इस दस्तावेज़ में Enterprise License Manager API से जुड़ी अनुमति और
पुष्टि करने की जानकारी मौजूद है. इस दस्तावेज़ को पढ़ने से पहले, पुष्टि करने और अनुमति देने के बारे में जानें पेज पर, पुष्टि करने और अनुमति देने से जुड़ी Google Workspace की सामान्य जानकारी ज़रूर पढ़ें.
अनुमति देने के लिए OAuth 2.0 को कॉन्फ़िगर करना
OAuth सहमति वाली स्क्रीन कॉन्फ़िगर करें और स्कोप चुनें, ताकि यह तय किया जा सके कि उपयोगकर्ताओं और ऐप्लिकेशन की समीक्षा करने वालों को कौनसी जानकारी दिखे. साथ ही, ऐप्लिकेशन को रजिस्टर करें, ताकि उसे बाद में पब्लिश किया जा सके.
Enterprise लाइसेंस मैनेजर एपीआई के दायरे
अपने ऐप्लिकेशन को दिए गए ऐक्सेस का लेवल तय करने के लिए, आपको अनुमति के दायरे पहचानने और एलान करने होंगे. अनुमति का स्कोप, OAuth 2.0 यूआरआई स्ट्रिंग होती है. इसमें Google Workspace ऐप्लिकेशन का नाम, यह किस तरह का डेटा ऐक्सेस करता है, और ऐक्सेस का लेवल शामिल होता है. स्कोप का मतलब है, आपके ऐप्लिकेशन के अनुरोध, Google Workspace के डेटा के साथ काम करने के लिए. इसमें, उपयोगकर्ताओं के Google खाते का डेटा भी शामिल होता है.
जब आपका ऐप्लिकेशन इंस्टॉल किया जाता है, तो उपयोगकर्ता से उन दायरों की पुष्टि करने के लिए कहा जाता है
जिनका इस्तेमाल ऐप्लिकेशन करता है. आम तौर पर, आपको सबसे सटीक तरीके से काम करने वाला
दायरा चुनना चाहिए. साथ ही, ऐसे दायरे का अनुरोध करने से बचना चाहिए जिनकी ज़रूरत आपके ऐप्लिकेशन को नहीं है. उपयोगकर्ता ज़्यादा आसानी से, सीमित और साफ़ तौर पर बताए गए दायरों का ऐक्सेस देते हैं.
Enterprise लाइसेंस मैनेजर एपीआई के साथ ये स्कोप काम करते हैं:
स्कोप
मतलब
https://www.googleapis.com/auth/apps.licensing
Enterprise लाइसेंस मैनेजर एपीआई के लिए पढ़ने/लिखने का ऐक्सेस.
[null,null,["आखिरी बार 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"]]