במסמך הזה תמצאו מידע על הרשאות ואימות ספציפיות ל-Google Workspace Marketplace API. לפני שתקראו את המסמך הזה, כדאי לכם לקרוא את המידע הכללי בנושא אימות והרשאה ב-Google Workspace, במאמר מידע על אימות והרשאה.
כדי להגדיר את רמת הגישה שהוענקה לאפליקציה, צריך לזהות היקפי הרשאות ולהצהיר עליהם. היקף הרשאה הוא מחרוזת URI של OAuth 2.0 שכוללת את השם של האפליקציה ב-Google Workspace, את סוגי הנתונים שאליהם האפליקציה ניגשת ואת רמת הגישה. היקפי הרשאות הם הבקשות של האפליקציה שלך לעבוד עם נתוני Google Workspace, כולל
נתוני חשבונות Google של משתמשים.
כשהאפליקציה מותקנת, המשתמשים מתבקשים לאמת את היקפי ההרשאות שהאפליקציה משתמשת בהם. באופן כללי, כדאי לבחור את ההיקף הצר ביותר שאפשר ולא לבקש היקפים שלא נדרשים לאפליקציה. המשתמשים מעניקים גישה להיקפים מוגבלים שמתוארים בבירור בצורה ברורה יותר.
[null,null,["עדכון אחרון: 2024-09-02 (שעון UTC)."],[[["This document provides Google Workspace Marketplace API-specific authorization and authentication information, advising developers to review general Google Workspace authentication information beforehand."],["Developers must configure OAuth 2.0 including the consent screen and scopes, which define user data access levels for the app."],["Marketplace API scopes are OAuth 2.0 URIs that specify app access to Google Workspace data, including user data, and require careful selection to ensure user privacy and trust."],["Applications using scopes with access to specific user data might require verification to avoid being flagged as \"unverified app\" during testing."]]],["The core actions involve configuring OAuth 2.0 by defining the consent screen and choosing scopes, which determine the level of access your app has to user data. Apps must declare authorization scopes, specifying the Google Workspace app, the data type, and access level. Users validate these scopes upon app installation. Public apps accessing user data need to undergo a verification process to avoid being labeled as \"unverified\". The provided scope `https://www.googleapis.com/auth/appsmarketplace.license` allows viewing installed application's licensing information.\n"]]