protected function getOpauthResponse() {
		$config = OpauthAuthenticator::get_opauth_config();
		$transportMethod = $config['callback_transport'];
		switch($transportMethod) {
			case 'session':
				return $this->getResponseFromSession();
			case 'get':
			case 'post':
				return $this->getResponseFromRequest($transportMethod);
			default:
				throw new InvalidArgumentException('Invalid transport method: ' . $transportMethod);
		}
	}
protected function getOpauthResponse() {
		$config = OpauthAuthenticator::get_opauth_config();
		$transportMethod = $config['callback_transport'];
		switch($transportMethod) {
			case 'session':
				return $this->getResponseFromSession();
			case 'get':
			case 'post':
				return $this->getResponseFromRequest($transportMethod);
			default:
				throw new InvalidArgumentException('Invalid transport method: ' . $transportMethod);
		}
	}
protected function getOpauthResponse ( ) { $ config = OpauthAuthenticator :: get_opauth_config ( ) ; $ transportMethod = $ config [ 'callback_transport' ] ; switch ( $ transportMethod ) { case 'session' : return $ this -> getResponseFromSession ( ) ; case 'get' : case 'post' : return $ this -> getResponseFromRequest ( $ transportMethod ) ; default : throw new InvalidArgumentException ( 'Invalid transport method: ' . $ transportMethod ) ; } }
Returns the response from the Oauth callback.
@throws InvalidArugmentException
@return array The response
Returns the response from the Oauth callback .