Viktar Donich 464ed4b886 Add auth provider for GAPI OAUTH2 and tests
The auth provider can be enabled with window.USE_GAPI_AUTH flag, which
is disabled by default.

gr-gapi-auth depends on oauthconfig plugin to provide auth config info.

https://developers.google.com/api-client-library/javascript/start/start-js

Feature: Issue 6489
Change-Id: I6d6da5231a766ac241b2a931076e2ae04aab03a6
2017-06-20 14:27:34 -07:00

31 lines
1.4 KiB
HTML

<!--
Copyright (C) 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<link rel="import" href="../../../behaviors/gr-path-list-behavior/gr-path-list-behavior.html">
<link rel="import" href="../../../behaviors/rest-client-behavior/rest-client-behavior.html">
<link rel="import" href="../../../bower_components/polymer/polymer.html">
<!-- NB: es6-promise Needed for IE11 and fetch polyfill support, see Issue 4308 -->
<script src="../../../bower_components/es6-promise/dist/es6-promise.min.js"></script>
<script src="../../../bower_components/fetch/fetch.js"></script>
<dom-module id="gr-rest-api-interface">
<!-- NB: Order is important, because of namespaced classes. -->
<script src="gr-gerrit-auth.js"></script>
<script src="gr-gapi-auth.js"></script>
<script src="gr-reviewer-updates-parser.js"></script>
<script src="gr-rest-api-interface.js"></script>
</dom-module>