public function __construct(array $options = array())
 {
     // Now make sure we have the default scope to get user data
     $options['scope'] = array_merge(array('basic'), (array) array_get($options, 'scope', array()));
     parent::__construct($options);
 }
Ejemplo n.º 2
0
 public function __construct(array $options = array())
 {
     // Now make sure we have the default scope to get user data
     $options['scope'] = array_merge(array('https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/userinfo.email'), (array) array_get($options, 'scope', array()));
     parent::__construct($options);
 }