במסמך הזה מפורט מידע ספציפי לגבי הרשאות ואימות ב-Google Vault API. לפני קריאת המסמך הזה, חשוב לקרוא את המידע הכללי על אימות והרשאה ב-Google Workspace במאמר מידע על אימות והרשאה.
כדי להגדיר את רמת הגישה שמוענקת לאפליקציה, צריך לזהות ולדווח על היקפי הרשאה. היקף הרשאה הוא מחרוזת URI של OAuth 2.0 שמכילה את שם האפליקציה ב-Google Workspace, את סוג הנתונים שהיא ניגשת אליהם ואת רמת הגישה. היקפים הם הבקשות של האפליקציה לעבוד עם נתוני Google Workspace, כולל נתונים מחשבון Google של המשתמשים.
כשהאפליקציה מותקנת, המשתמש מתבקש לאמת את ההיקפים שבהם האפליקציה משתמשת. באופן כללי, כדאי לבחור את ההיקף המצומצם ביותר האפשרי ולהימנע מבקשות להיקפים שלא נדרשים לאפליקציה. משתמשים נותנים גישה בקלות רבה יותר להיקפים מוגבלים ומתוארים בבירור.
[null,null,["עדכון אחרון: 2024-12-21 (שעון UTC)."],[[["This document provides Google Vault API-specific authorization and authentication details, requiring prior understanding of Google Workspace's general authentication and authorization."],["You need to configure the OAuth consent screen, choose scopes, and register your app for authorization using OAuth 2.0."],["Vault API uses specific scopes defining the level of access granted to your application to Google Workspace data, requiring careful selection to ensure user privacy."],["The two key scopes for Vault API are `https://www.googleapis.com/auth/ediscovery` for managing eDiscovery data and `https://www.googleapis.com/auth/ediscovery.readonly` for viewing it."]]],["The Google Vault API utilizes OAuth 2.0 for authorization, requiring the configuration of an OAuth consent screen and scope selection. Scopes define the app's access level to Google Workspace data, and users must validate these scopes during app installation. Applications should request the most narrowly focused scopes possible. Public applications using specific scopes must undergo a verification process to avoid being flagged as \"unverified.\" The Vault API offers two scopes: `ediscovery` (manage eDiscovery data) and `ediscovery.readonly` (view eDiscovery data).\n"]]