আপনার অ্যাপে প্রদত্ত অ্যাক্সেসের স্তর নির্ধারণ করতে, আপনাকে অনুমোদনের সুযোগ সনাক্ত করতে এবং ঘোষণা করতে হবে। অনুমোদনের সুযোগ হল একটি OAuth 2.0 URI স্ট্রিং যাতে Google Workspace অ্যাপের নাম, এটি কী ধরনের ডেটা অ্যাক্সেস করে এবং অ্যাক্সেসের স্তর থাকে। স্কোপগুলি হল ব্যবহারকারীদের Google অ্যাকাউন্ট ডেটা সহ Google Workspace ডেটার সাথে কাজ করার জন্য আপনার অ্যাপের অনুরোধ।
যখন আপনার অ্যাপ ইনস্টল করা হয়, একজন ব্যবহারকারীকে অ্যাপ দ্বারা ব্যবহৃত স্কোপগুলি যাচাই করতে বলা হয়। সাধারণত, আপনার সম্ভাব্য সবচেয়ে সংকীর্ণভাবে ফোকাস করা সুযোগ বেছে নেওয়া উচিত এবং আপনার অ্যাপের প্রয়োজন নেই এমন সুযোগের অনুরোধ করা এড়িয়ে চলা উচিত। ব্যবহারকারীরা আরও সহজে সীমিত, স্পষ্টভাবে বর্ণিত সুযোগগুলিতে অ্যাক্সেস মঞ্জুর করে৷
মার্কেটপ্লেস API নিম্নলিখিত সুযোগগুলিকে সমর্থন করে:
[null,null,["2024-10-26 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"]]