code: 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();
  	}
docs: Completes social login. Is caled after redirect from google auth page
  
  @param array $extrainputs List of POST/GET arguments names