ภาพรวมการให้สิทธิ์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เอกสารนี้แสดงภาพรวมเกี่ยวกับความสำเร็จในการตรวจสอบสิทธิ์ การให้สิทธิ์ และการบัญชี
แอปพลิเคชันต้องผ่านการตรวจสอบสิทธิ์สำหรับการเรียก API ทั้งหมด
เมื่อ API เข้าถึงข้อมูลส่วนตัวของผู้ใช้ ผู้ใช้จะต้องให้สิทธิ์แอปพลิเคชันในการเข้าถึงข้อมูลด้วย
เช่น การเข้าถึงโพสต์ Google+ แบบสาธารณะไม่จำเป็นต้องมีการให้สิทธิ์ผู้ใช้ แต่จะเข้าถึงปฏิทินส่วนตัวของผู้ใช้ได้
นอกจากนี้ สำหรับวัตถุประสงค์ด้านโควต้าและการเรียกเก็บเงิน การเรียก API ทั้งหมดเกี่ยวข้องกับบัญชี
เอกสารนี้สรุปโปรโตคอลที่ Google API ใช้และให้ลิงก์ไปยังข้อมูลเพิ่มเติม
การใช้คีย์ API
ดูข้อมูลเพิ่มเติมและตัวอย่างสำหรับคีย์ API ได้ในหน้าคีย์ API
การใช้ OAuth 2.0
ดูข้อมูลเพิ่มเติมและตัวอย่างสำหรับ OAuth 2.0 ได้ในหน้า OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eGoogle APIs require authentication for all calls and authorization when accessing private user data.\u003c/p\u003e\n"],["\u003cp\u003eAPI usage is tracked for accounting, quota, and billing purposes.\u003c/p\u003e\n"],["\u003cp\u003eGoogle APIs utilize API keys and OAuth 2.0 for authentication and authorization.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can find more information about authentication, authorization, and API keys through provided links.\u003c/p\u003e\n"]]],[],null,["# Authorization Overview\n\nThis document is an overview of how authentication, authorization,\nand accounting are accomplished.\nFor all API calls, your application needs to be authenticated.\nWhen an API accesses a user's private data, your application\nmust also be authorized by the user to access the data.\nFor example, accessing a public Google+ post would not require user authorization,\nbut accessing a user's private calendar would.\nAlso, for quota and billing purposes, all API calls involve accounting.\nThis document summarizes the protocols used by Google APIs and provides links to more information.\n\nAccess types\n------------\n\nRead more in the [Authentication and authorization](/api-client-library/dotnet/get_started#auth) section in the Get Started page.\n\nUsing API keys\n--------------\n\n\nMore information and examples for API keys are provided on the\n[API Keys](/api-client-library/dotnet/guide/aaa_apikeys)\npage.\n\nUsing OAuth 2.0\n---------------\n\n\nMore information and examples for OAuth 2.0 are provided on the\n[OAuth 2.0](/api-client-library/dotnet/guide/aaa_oauth)\npage."]]