Exemple #1
0
 /**
  * @param array $scopes
  * @param string $state
  * @return array
  */
 protected function createAuthorizationParameters(array $scopes, $state)
 {
     $scopes[] = 'r_basicprofile';
     $scopes[] = 'r_emailaddress';
     return parent::createAuthorizationParameters($scopes, $state);
 }
Exemple #2
0
 /**
  * @param array $scopes
  * @param string $state
  * @return array
  */
 protected function createAuthorizationParameters(array $scopes, $state)
 {
     $scopes[] = 'https://www.googleapis.com/auth/userinfo.email';
     $scopes[] = 'https://www.googleapis.com/auth/userinfo.profile';
     return parent::createAuthorizationParameters($scopes, $state);
 }