Ejemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     if ($this->scope === null) {
         $this->scope = implode(' ', ['profile', 'email']);
     }
 }
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     if ($this->scope === null) {
         $this->scope = implode(' ', ['profile', 'email', 'placesLived', 'organizations']);
     }
 }
Ejemplo n.º 3
0
 public function init()
 {
     parent::init();
     $this->_client = new \Google_Client();
     $this->_client->setClientId($this->clientId);
     $this->_client->setClientSecret($this->clientSecret);
     $this->_client->setRedirectUri($this->returnUrl);
     $this->_client->setScopes($this->scope);
 }