/** * Constructor. * * @param JRegistry $options Google options object * @param JGoogleAuth $auth Google data http client object * * @since 12.3 */ public function __construct(Registry $options = null, Auth $auth = null) { parent::__construct($options, $auth); if (isset($this->auth) && !$this->auth->getOption('scope')) { $this->auth->setOption('scope', 'https://picasaweb.google.com/data/'); } }
/** * Constructor. * * @param JRegistry $options Google options object * @param JGoogleAuth $auth Google data http client object * * @since 12.3 */ public function __construct(Registry $options = null, Auth $auth = null) { parent::__construct($options, $auth); if (isset($this->auth) && !$this->auth->getOption('scope')) { $this->auth->setOption('scope', 'https://www.googleapis.com/auth/adsense'); } }
/** * Constructor. * * @param JRegistry $options Google options object * @param JGoogleAuth $auth Google data http client object * * @since 1234 */ public function __construct(Registry $options = null, Auth $auth = null) { // Setup the default API url if not already set. $options->def('api.url', 'https://www.googleapis.com/plus/v1/'); parent::__construct($options, $auth); if (isset($this->auth) && !$this->auth->getOption('scope')) { $this->auth->setOption('scope', 'https://www.googleapis.com/auth/plus.me'); } }