Authorization Overview
Stay organized with collections
Save and categorize content based on your preferences.
This document is an overview of how authentication, authorization,
and accounting are accomplished.
For all API calls, your application needs to be authenticated.
When an API accesses a user's private data, your application
must also be authorized by the user to access the data.
For example, accessing a public Google+ post would not require user authorization,
but accessing a user's private calendar would.
Also, for quota and billing purposes, all API calls involve accounting.
This document summarizes the protocols used by Google APIs and provides links to more information.
Using API keys
More information and examples for API keys are provided on the
API Keys
page.
Using OAuth 2.0
More information and examples for OAuth 2.0 are provided on the
OAuth 2.0
page.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["Google APIs require authentication for all calls and authorization when accessing private user data."],["API usage is tracked for accounting, quota, and billing purposes."],["Google APIs utilize API keys and OAuth 2.0 for authentication and authorization."],["Developers can find more information about authentication, authorization, and API keys through provided links."]]],[]]