text: "use strict";
  var __extends = (this && this.__extends) || function (d, b) {
      for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
      function __() { this.constructor = d; }
      d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  };
  var provider_1 = require("../provider");
  var Google = (function (_super) {
      __extends(Google, _super);
      function Google(options) {
          if (options === void 0) { options = {}; }
          _super.call(this, options);
          this.authUrl = 'https://accounts.google.com/o/oauth2/auth';
          this.APP_SCOPE_DELIMITER = ' ';
          this.defaults = {
              responseType: 'token'
          };
          if (!options.appScope || options.appScope.length <= 0) {
              throw new Error("A " + this.name + " app scope must exist");
          }
      }
      Google.prototype.optionsToDialogUrl = function (options) {
          return _super.prototype.optionsToDialogUrl.call(this, options) + '&approval_prompt=force';
      };
      return Google;
  }(provider_1.OAuthProvider));
  exports.Google = Google;
  