با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
این سند حاوی اطلاعات مجوز و احراز هویت مخصوص Google Classroom API است. قبل از خواندن این سند، حتماً اطلاعات عمومی احراز هویت و مجوز Google Workspace را در اطلاعات مربوط به احراز هویت و مجوز مطالعه کنید.
برای تعریف سطح دسترسی اعطا شده به برنامه خود، باید محدوده های مجوز را شناسایی و اعلام کنید. محدوده مجوز یک رشته URI OAuth 2.0 است که حاوی نام برنامه Google Workspace، نوع دادههایی است که به آن دسترسی دارد و سطح دسترسی. Scopes درخواستهای برنامه شما برای کار با دادههای Google Workspace، از جمله دادههای حساب Google کاربران است.
هنگامی که برنامه شما نصب می شود، از کاربر خواسته می شود تا محدوده های مورد استفاده برنامه را تأیید کند. به طور کلی، شما باید محدودترین محدوده ممکن را انتخاب کنید و از درخواست دامنه هایی که برنامه شما به آن نیاز ندارد اجتناب کنید. کاربران با سهولت بیشتری به محدودههای محدود و به وضوح توضیح داده شده دسترسی میدهند.
برای پخش جریانی موارد در کلاسهایی که در Google Classroom تدریس میکنید، پیوستهای پروژه Google Cloud درخواستکننده را ببینید، ایجاد و بهروزرسانی کنید.
کار درسی و نمرات دانشآموزان را در کلاسهای Google Classroom که تدریس میکنید مدیریت کنید و تکالیف درسی و نمرات کلاسهایی را که مدیریت میکنید مشاهده کنید.
تاریخ آخرین بهروزرسانی 2025-08-01 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-01 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Choose Google Classroom API scopes\n\nThis document contains Google Classroom API-specific authorization and\nauthentication information. Before reading this document, be sure to read the\nGoogle Workspace's general authentication and authorization information at\n[Learn about authentication and authorization](/workspace/guides/auth-overview).\n\nConfigure OAuth 2.0 for authorization\n-------------------------------------\n\n[Configure the OAuth consent screen and choose scopes](/workspace/guides/configure-oauth-consent)\nto define what information is displayed to users and app reviewers, and register\nyour app so that you can publish it later.\n\nClassroom API scopes\n--------------------\n\nTo define the level of access granted to your app, you need to identify and\ndeclare *authorization scopes*. An authorization scope is an OAuth 2.0 URI string\nthat contains the Google Workspace app name, what kind of data it accesses, and\nthe level of access. Scopes are your app's requests to work with Google Workspace data, including\nusers' Google Account data.\n\n\nWhen your app is installed, a user is asked to validate the scopes used\nby the app. Generally, you should choose the most narrowly focused scope\npossible and avoid requesting scopes that your app doesn't require. Users more\nreadily grant access to limited, clearly described scopes.\n| If your public application uses scopes that permit access to certain user data, it must complete a verification process. If you see **unverified\n| app** on the screen when testing your application, you must submit a verification request to remove it. Find out more about [unverified apps](https://support.google.com/cloud/answer/7454865) and get answers to [frequently asked questions about app verification](https://support.google.com/cloud/answer/9110914) in the Help Center.\n\nThe Classroom API supports the following scopes:\n\n| Scopes | Meaning |\n|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` https://www.googleapis.com/auth/classroom.addons.teacher ` | See, create, and update the requesting Google Cloud project's attachments to stream items in classes you teach in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.addons.student ` | See and update the requesting Google Cloud project's attachments to stream items in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.announcements ` | View and manage announcements in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.announcements.readonly ` | View announcements in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.courses ` | See, edit, create, and permanently delete your Google Classroom classes. |\n| ` https://www.googleapis.com/auth/classroom.courses.readonly ` | View your Google Classroom classes. |\n| ` https://www.googleapis.com/auth/classroom.coursework.me ` | See, create and edit coursework items including assignments, questions, and grades. |\n| ` https://www.googleapis.com/auth/classroom.coursework.me.readonly ` | View your coursework and grades in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.coursework.students ` | Manage coursework and grades for students in the Google Classroom classes you teach and view the coursework and grades for classes you administer. |\n| ` https://www.googleapis.com/auth/classroom.coursework.students.readonly ` | View coursework and grades for students in the Google Classroom classes you teach or administer. |\n| ` https://www.googleapis.com/auth/classroom.courseworkmaterials ` | See, edit, and create classwork materials in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.courseworkmaterials.readonly ` | See all classwork materials for your Google Classroom classes. |\n| ` https://www.googleapis.com/auth/classroom.guardianlinks.me.readonly ` | View your Google Classroom guardians. |\n| ` https://www.googleapis.com/auth/classroom.guardianlinks.students ` | View and manage guardians for students in your Google Classroom classes. |\n| ` https://www.googleapis.com/auth/classroom.guardianlinks.students.readonly ` | View guardians for students in your Google Classroom classes. |\n| ` https://www.googleapis.com/auth/classroom.profile.emails ` | View the email addresses of people in your classes. |\n| ` https://www.googleapis.com/auth/classroom.profile.photos ` | View the profile photos of people in your classes. |\n| ` https://www.googleapis.com/auth/classroom.push-notifications ` | Receive notifications about your Google Classroom data. |\n| ` https://www.googleapis.com/auth/classroom.rosters ` | Manage your Google Classroom class rosters. |\n| ` https://www.googleapis.com/auth/classroom.rosters.readonly ` | View your Google Classroom class rosters. |\n| ` https://www.googleapis.com/auth/classroom.student-submissions.me.readonly ` | View your coursework and grades in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.student-submissions.students.readonly ` | View coursework and grades for students in the Google Classroom classes you teach or administer. |\n| ` https://www.googleapis.com/auth/classroom.topics ` | See, create, and edit topics in Google Classroom. |\n| ` https://www.googleapis.com/auth/classroom.topics.readonly ` | View topics in Google Classroom. |"]]