این سند حاوی اطلاعات مجوز و احراز هویت ویژه Google Tasks API است. قبل از خواندن این سند، حتماً اطلاعات عمومی احراز هویت و مجوز Google Workspace را در اطلاعات مربوط به احراز هویت و مجوز مطالعه کنید.
برای تعریف سطح دسترسی اعطا شده به برنامه خود، باید محدوده های مجوز را شناسایی و اعلام کنید. محدوده مجوز یک رشته URI OAuth 2.0 است که حاوی نام برنامه Google Workspace، نوع دادههایی است که به آن دسترسی دارد و سطح دسترسی. Scopes درخواستهای برنامه شما برای کار با دادههای Google Workspace، از جمله دادههای حساب Google کاربران است.
هنگامی که برنامه شما نصب می شود، از کاربر خواسته می شود تا محدوده های مورد استفاده برنامه را تأیید کند. به طور کلی، شما باید محدودترین محدوده ممکن را انتخاب کنید و از درخواست دامنه هایی که برنامه شما به آن نیاز ندارد اجتناب کنید. کاربران با سهولت بیشتری به محدودههای محدود و به وضوح توضیح داده شده دسترسی میدهند.
Tasks API از حوزه های زیر پشتیبانی می کند:
محدوده ها
معنی
https://www.googleapis.com/auth/tasks
همه وظایف خود را ایجاد، ویرایش، سازماندهی و حذف کنید.
تاریخ آخرین بهروزرسانی 2024-12-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-12-21 بهوقت ساعت هماهنگ جهانی."],[[["This document provides Google Tasks API-specific authorization and authentication details, complementing Google Workspace's general authentication guide."],["Before using the Tasks API, you need to configure OAuth 2.0, including setting up the consent screen, choosing scopes, and registering your app."],["Tasks API utilizes scopes to define the level of access your application has, allowing you to specify whether it can view or fully manage user tasks."],["When selecting scopes, prioritize the most narrowly focused ones to respect user privacy and increase the likelihood of consent."],["Public applications using specific scopes may require verification to ensure user data protection and avoid being flagged as unverified."]]],["To access the Google Tasks API, configure OAuth 2.0, including the consent screen and scope selection. Scopes define the level of data access for your app. Choose the most narrowly focused scope possible. The Tasks API offers two scopes: `https://www.googleapis.com/auth/tasks` for full task management and `https://www.googleapis.com/auth/tasks.readonly` for viewing tasks. Public apps using scopes that access user data must undergo a verification process to avoid being labeled as \"unverified.\"\n"]]