diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..1aed3a5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,25 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +*Important gapi.auth2 notice*: gapi.auth2 has been deprecated and replaced with Google Identity Services. Please see https://developers.google.com/identity/sign-in/web/deprecation-and-sunset for more information. If you have questions related to authentication/authorization please look at the associated documentation or post questions on Stack Overflow with the google-oauth tag. + +**Summary** +Describe your issue here. + +**Browser(s)/Version(s)** +List browsers and versions affected + +**Expected Behavior** +Tell us what should happen. + +**Actual Behavior** +Tell us what actually happened. + +**Steps to Reproduce** +Please include steps and code samples to aid in issue reproduction(html/javascript). diff --git a/README.md b/README.md index 22a9d77..ea482ed 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,6 @@ developers. It offers simple, flexible access to many Google APIs. The JavaScript client library [supports these Google APIs](https://developers.google.com/apis-explorer/#p/). -The library supports [OAuth 2 authentication](https://developers.google.com/api-client-library/javascript/features/authentication). - If you use TypeScript, you can install [`@types/gapi`](https://www.npmjs.com/package/@types/gapi) for autocompletion. # Documentation @@ -24,7 +22,6 @@ If you use TypeScript, you can install [`@types/gapi`](https://www.npmjs.com/pac - [Auth](docs/auth.md) - [Batch](docs/batch.md) -- [CORS](docs/cors.md) - [Discovery Documents](docs/discovery.md) - [FAQ](docs/faq.md) - [Promises](docs/promises.md) @@ -33,4 +30,3 @@ If you use TypeScript, you can install [`@types/gapi`](https://www.npmjs.com/pac ## Links - [Discussions](https://github.com/google/google-api-javascript-client/issues) -- [Historical Announcements](http://google-api-javascript-client.blogspot.com/) diff --git a/docs/README.md b/docs/README.md index 386d50f..0d5d2b9 100644 --- a/docs/README.md +++ b/docs/README.md @@ -9,7 +9,6 @@ access to many Google APIs. - [Getting Started](start.md) - [Auth](auth.md) - [Batch](batch.md) -- [CORS](cors.md) - [Discovery Documents](discovery.md) - [FAQ](faq.md) - [Promises](promises.md) diff --git a/docs/auth.md b/docs/auth.md index 708d063..5e687bc 100644 --- a/docs/auth.md +++ b/docs/auth.md @@ -1,123 +1,3 @@ # Authentication -[](#top_of_page)Overview ------------------------- - -To access a user's private data, your application must work with Google's policies for authentication and authorization. - -Google defines two levels of API access: - -
| - Level - | -- Description - | -- Requires: - | -
|---|---|---|
| - Simple - | -- API calls do not access any private user data - | -- API key - | -
| - Authorized - | -- API calls can read and write private user data, or the - application's own data - | -- API key plus OAuth 2.0 credentials (different for - different application types) - | -
A colon (:) separated list of gapi libraries. Ex:
- "client:auth2".
+ "client:iframes".
|