Dokumen ini berisi informasi autentikasi dan otorisasi khusus Google Tasks API. Sebelum membaca dokumen ini, pastikan Anda membaca
informasi autentikasi dan otorisasi umum Google Workspace di
Pelajari autentikasi dan otorisasi.
Untuk menentukan tingkat akses yang diberikan ke aplikasi, Anda perlu mengidentifikasi dan
mendeklarasikan cakupan otorisasi. Cakupan otorisasi adalah string URI OAuth 2.0
yang berisi nama aplikasi Google Workspace, jenis data yang diakses, dan
tingkat akses. Cakupan adalah permintaan aplikasi Anda untuk menggunakan data Google Workspace, termasuk data Akun Google pengguna.
Saat aplikasi diinstal, pengguna akan diminta untuk memvalidasi cakupan yang digunakan
oleh aplikasi. Umumnya, Anda harus memilih cakupan yang paling sempit
dan menghindari permintaan cakupan yang tidak diperlukan aplikasi Anda. Pengguna lebih
mudah memberikan akses ke cakupan terbatas yang dijelaskan dengan jelas.
Tasks API mendukung cakupan berikut:
Cakupan
Arti
https://www.googleapis.com/auth/tasks
Membuat, mengedit, mengatur, dan menghapus semua tugas Anda.
[null,null,["Terakhir diperbarui pada 2024-12-21 UTC."],[[["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"]]