code: function getAuthUrl() {
      let authType = config.authorizationType;
      if (authType === 'token') {
          return getOAuthUrl(...arguments);
      } else if (authType === 'cookie') {
          return getCookieAuthUrl(...arguments);
      } else {
          throw new Ember.Error(`Unrecognized authorization type: ${authType}`);
      }
  }
docs: Return the appropriate auth URL for the specified authorization mechanism (as specified in application configuration)
  Currently supports `token` and `cookie` based authorization
  @public
  @method getAuthUrl
  @return {string}