src/Gelembjuk/Auth/SocialLogin/Google.php
public function completeLogin($extrainputs = array()) {
		if ($extrainputs['code'] == '' && $extrainputs['error'] != '') {
			throw new \Exception($extrainputs['error']);
		}
		$client = $this->getClient();
		
		$client->authenticate($extrainputs['code']);
		$this->access_token = $client->getAccessToken();
		
		return $this->getUserProfile();
	}
public function completeLogin($extrainputs = array()) {
		if ($extrainputs['code'] == '' && $extrainputs['error'] != '') {
			throw new \Exception($extrainputs['error']);
		}
		$client = $this->getClient();
		
		$client->authenticate($extrainputs['code']);
		$this->access_token = $client->getAccessToken();
		
		return $this->getUserProfile();
	}
public function completeLogin ( $ extrainputs = array ( ) ) { if ( $ extrainputs [ 'code' ] == '' && $ extrainputs [ 'error' ] != '' ) { throw new \ Exception ( $ extrainputs [ 'error' ] ) ; } $ client = $ this -> getClient ( ) ; $ client -> authenticate ( $ extrainputs [ 'code' ] ) ; $ this -> access_token = $ client -> getAccessToken ( ) ; return $ this -> getUserProfile ( ) ; }
Completes social login. Is caled after redirect from google auth page

@param array $extrainputs List of POST/GET arguments names
Completes social login . Is caled after redirect from google auth page