4 stars based on
When your application requests private data, the request must be authorized by an authenticated user who has access to that data. When your application requests public data, the request doesn't need to be authorized, but does need to be accompanied by an identifier, such as blockchain api key for google docs API key. There are two ways to identify your application: Here's how to determine which of those options to use:.
No other authorization protocols are supported. If your application uses Google Sign-Insome aspects of authorization are handled for you. Requests to the Google Sheets API for non-public user data must be authorized by an authenticated user.
The following general process applies to all application types:. Some flows include additional steps, such as using refresh tokens to acquire new access tokens. Whenever your application requests private user data, it must send an OAuth 2. Your application first sends a client ID and, possibly, a client secret to obtain a token.
You can generate OAuth 2. For more information, see the OAuth 2. A request that does not provide an OAuth 2. The key identifies your project and provides API access, quota, and reports. You can restrict the key before using it in production by clicking Restrict key and selecting one of the Restrictions.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3. For details, see our Blockchain api key for google docs Policies. Last updated April 12, Here's how to determine which of those options to use: If the request requires authorization such blockchain api key for google docs a request for an blockchain api key for google docs private datathen the application must provide an OAuth 2.
The application may also provide the API key, but it doesn't have to. If the request doesn't require authorization such as a request for public datathen the application must provide either the API key or an OAuth 2. Authorizing requests with OAuth 2. The following general process applies to all application types: Google then provides information you'll need later, such as a client ID and a client secret. When your application needs access to user data, it asks Google for a particular scope of access.
Google displays a consent screen to the user, asking them to authorize your application to request some of their data. If the user approves, then Google gives your application a short-lived access token. Your application requests user data, attaching the access token to the request. If Google determines that your request and the token are valid, it returns the requested data.
Request this scope blockchain api key for google docs when it is strictly necessary. To acquire an API key: This API supports two types of credentials. Create whichever credentials are appropriate for your project: Full, permissive scope to access all of a user's files.