protected function GoogleAuthManager::getOauth2Service in Social Auth Google 8
Gets Google Oauth2 Service.
Return value
\Google_Service_Oauth2 The Google Oauth2 service.
File
- src/
GoogleAuthManager.php, line 77
Class
- GoogleAuthManager
- Manages the authentication requests.
Namespace
Drupal\social_auth_googleCode
protected function getOauth2Service() {
return new Google_Service_Oauth2($this
->getClient());
}