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();
	}