src/Gelembjuk/Auth/SocialLogin/Xingapi.php
public function completeLogin($extrainputs = array()) {
		if (!isset($extrainputs['oauth_token']) || $extrainputs['oauth_token'] == '') {
			throw new \Exception('Xing oauth. Somethign went wrong. No token in the session');
		}
		
		$credentials = array(
			'identifier' => $this->options['consumer_key'],
			'secret' => $this->options['consumer_secret']
		);

		$server = new \League\OAuth1\Client\Server\Xing($credentials);
		
		$this->access_token = $server->getTokenCredentials($this->temp_credentials, 
			$extrainputs['oauth_token'], $extrainputs['oauth_verifier']);
		
		return $this->getUserProfile();
	}
public function completeLogin($extrainputs = array()) {
		if (!isset($extrainputs['oauth_token']) || $extrainputs['oauth_token'] == '') {
			throw new \Exception('Xing oauth. Somethign went wrong. No token in the session');
		}
		
		$credentials = array(
			'identifier' => $this->options['consumer_key'],
			'secret' => $this->options['consumer_secret']
		);

		$server = new \League\OAuth1\Client\Server\Xing($credentials);
		
		$this->access_token = $server->getTokenCredentials($this->temp_credentials, 
			$extrainputs['oauth_token'], $extrainputs['oauth_verifier']);
		
		return $this->getUserProfile();
	}
public function completeLogin ( $ extrainputs = array ( ) ) { if ( ! isset ( $ extrainputs [ 'oauth_token' ] ) || $ extrainputs [ 'oauth_token' ] == '' ) { throw new \ Exception ( 'Xing oauth. Somethign went wrong. No token in the session' ) ; } $ credentials = array ( 'identifier' => $ this -> options [ 'consumer_key' ] , 'secret' => $ this -> options [ 'consumer_secret' ] ) ; $ server = new \ League \ OAuth1 \ Client \ Server \ Xing ( $ credentials ) ; $ this -> access_token = $ server -> getTokenCredentials ( $ this -> temp_credentials , $ extrainputs [ 'oauth_token' ] , $ extrainputs [ 'oauth_verifier' ] ) ; return $ this -> getUserProfile ( ) ; }
Completes social login. Is caled after redirect from Xing auth page

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