예제 #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);
 }
예제 #2
0
파일: Google.php 프로젝트: lcobucci/social
 /**
  * @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);
 }