Dieses Dokument enthält spezifische Informationen zur Autorisierung und Authentifizierung der Google Workspace Marketplace API. Bevor Sie dieses Dokument lesen, sollten Sie die allgemeinen Informationen zur Authentifizierung und Autorisierung von Google Workspace unter Informationen zur Authentifizierung und Autorisierung lesen.
Zum Festlegen der Zugriffsebene für Ihre Anwendung müssen Sie Autorisierungsbereiche angeben und deklarieren. Ein Autorisierungsbereich ist ein OAuth 2.0-URI-String, der den Namen der Google Workspace-Anwendung, die Art von Daten, auf die er zugreift, und die Zugriffsebene enthält. Bereiche sind die Anfragen Ihrer Anwendung zur Arbeit mit Google Workspace-Daten, einschließlich der Google-Kontodaten von Nutzern.
Bei der Installation Ihrer Anwendung wird ein Nutzer aufgefordert, die von der Anwendung verwendeten Bereiche zu validieren. Im Allgemeinen sollten Sie den eng gefassten Bereich auswählen und vermeiden, Bereiche anzufordern, die Ihre Anwendung nicht benötigt. Nutzer gewähren leichter Zugriff auf begrenzte, klar beschriebene Bereiche.
Die Marketplace API unterstützt die folgenden Bereiche:
[null,null,["Zuletzt aktualisiert: 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"]]