After 3dscheck exec this function for "preauthorization".

@return array
773494
protected function PayOnePreauthorization($aParams = array(), &$oOrder)
    {
        $aResponse = array();
        $aResponse['success'] = false;

        $oBasket = TShopBasket::GetInstance();

        $_SESSION['PayOneResponse']['cavv'] = $aParams['cavv'];
        $_SESSION['PayOneResponse']['xid'] = $aParams['xid'];
        $_SESSION['PayOneResponse']['eci'] = $aParams['eci'];

        $frequest = new financegateRequest();
        $fconnect = new financegateConnect();

        $frequest->setRequest('preauthorization');
        $frequest->setClearingType('cc');
        $frequest->setReference(time());

        $frequest->setPortalId($this->GetConfigParameter('portalid'));
        $frequest->setKey($this->GetConfigParameter('key'));
        $frequest->setMId($this->GetConfigParameter('mid'));
        $frequest->setAId($this->GetConfigParameter('aid'));
        $frequest->setMode($this->GetConfigParameter('mode'));

        $frequest->setAmount($oBasket->dCostTotal * 100);
        $frequest->setCurrency($this->GetCurrency());

        $oUser = TdbDataExtranetUser::GetInstance();
        $frequest->setFirstname($oUser->fieldFirstname);
        $frequest->setLastname($oUser->fieldLastname);
        $frequest->setCustomerId($oUser->fieldCustomerNumber);
        $request = $this->getCurrentRequest();
        $frequest->setIp(null === $request ? '' : $request->getClientIp());

        $sIsoCode = '';
        $oCountry = $oUser->GetFieldDataCountry();
        if (is_object($oCountry)) {
            $oTCountry = $oCountry->GetFieldTCountry();
            if (is_object($oTCountry)) {
                $sIsoCode = $oTCountry->fieldIsoCode2;
            }
        }
        $frequest->setCountry($sIsoCode);

        $oShippingAddress = $oUser->GetShippingAddress();

        $frequest->setStreetName($oShippingAddress->fieldStreet);
        $frequest->setStreetNumber($oShippingAddress->fieldStreetnr);
        $frequest->setCity($oShippingAddress->fieldCity);
        $frequest->setZip($oShippingAddress->fieldPostalcode);

        $frequest->setPseudocardpan($_SESSION['PayOneResponse']['pseudocardpan']);

        // If 3D-Secure Authentification fails, the ECI value is empty
        if (!empty($aParams['eci']) && !empty($aParams['xid']) && !empty($aParams['cavv'])) {
            $frequest->setXid($aParams['xid']);
            $frequest->setCavv($aParams['cavv']);
            $frequest->setEci($aParams['eci']);
        }

        $fconnect->setApiUrl($this->GetConfigParameter('serverApiUrlPayOne'));

        $fresponse = $fconnect->processByRequest($frequest);

        if ('APPROVED' == $fresponse->getStatus()) {
            //print_success($fresponse);
            $aResponse['success'] = true;
        } else {
            $aResponse['success'] = false;
            $aResponse['status'] = $fresponse->getStatus();
            $aResponse['errormessage'] = $fresponse->getErrorMessage();
            $aResponse['errortext'] = $fresponse->getCustomerMessage();
            //print_form($_REQUEST,$info);
        }

        return $aResponse;
    }
836872
public function getAuthorizationBasic()
    {
        if ( ! empty($this->key) && ! empty($this->secret)) {
            $key = rawurlencode($this->key);
            $secret = rawurlencode($this->secret);

            return 'Basic ' . base64_encode($key . ':' . $secret);
        }

        return false;
    }
968799
public function getUthandoConfig(): array
    {
        $config             = [];
        $configFilePattern  = join('/', [
            $this->getModulePath(),
            $this->configDirectory,
            $this->filePattern,
        ]);

        foreach (glob($configFilePattern) as $filename) {
            /** @noinspection PhpIncludeInspection */
            $configFile = include $filename;
            $config     = array_merge($config, $configFile);
        }

        return $config;
    }
1050622
protected function getAuthorizationParameters(array $options)
    {
        $options = parent::getAuthorizationParameters($options);
        $options['purpose'] = $this->purpose;
        return $options;
    }
738765
protected function getPrivileges()
    {
        if (!$this->privileges) {
            $privileges = [];

            $allExisting = $this->getUsedPrivileges();

            foreach ($this->acl->getPrivilegeRoles() as $privilege => $roles) {
                $privileges[$privilege]['privilege'] = $privilege;
                $privileges[$privilege]['menu'] = isset($allExisting[$privilege]) ? $allExisting[$privilege] : null;
                $privileges[$privilege]['allowed'] = $roles[\Zend_Acl::TYPE_ALLOW] ? implode(', ', $roles[\Zend_Acl::TYPE_ALLOW]) : null;
                $privileges[$privilege]['denied'] = $roles[\Zend_Acl::TYPE_DENY] ? implode(', ', $roles[\Zend_Acl::TYPE_DENY]) : null;
            }

            // Add unassigned rights to the array too

            $unassigned = array_diff_key($allExisting, $privileges);
            $nonexistent = array_diff_key($privileges, $allExisting);
            unset($nonexistent['pr.nologin']);
            unset($nonexistent['pr.islogin']);
            ksort($nonexistent);

            foreach ($unassigned as $privilege => $description) {
                $privileges[$privilege] = array(
                    'privilege' => $privilege,
                    'menu' => isset($allExisting[$privilege]) ? $allExisting[$privilege] : null,
                    'allowed' => null,
                    'denied' => null
                );
            }
            ksort($privileges);

            $this->setNonExistent($nonexistent);

            $this->privileges = $privileges;
        }
        return $this->privileges;
    }
603363
public function getAuthority()
    {
        $authority = $this->getHost();
        if ($authority === null) {
            return '';
        }

        if ($this->getUserInfo() !== '') {
            $authority = $this->getUserInfo() . '@' . $authority;
        }

        if ($this->port !== null && self::isStandardPort($this->port, $this->scheme, $this->host) === false) {
            $authority .= ':' . $this->port;
        }

        return $authority;
    }
258675
public function getAuthority()
    {
        $scheme = $this->getScheme();
        $serverName = $this->getHost();
        $serverPort = $this->getPort();

        $authority = sprintf('%s://%s', $scheme, $serverName);
        if (('https' === $scheme && 443 !== $serverPort) || ('http' === $scheme && 80 !== $serverPort)) {
            $authority .= sprintf(':%d', $serverPort);
        }

        return $authority;
    }
805616
public function getAuthorizationBearer()
    {
        if ( ! empty($this->key) && ! empty($this->secret)) {
            $key = rawurlencode($this->key);
            $secret = rawurlencode($this->secret);

            return 'Bearer ' . base64_encode($key . ':' . $secret . ':' . md5($key . $secret));
        }

        return false;
    }
1263402
public function getPreTasks()
    {
        if ($this->preTasks != null) {
            return $this->preTasks;
        }

        /** @noinspection PhpUndefinedFieldInspection */
        return $this->preTasks = $this->getScripts($this->configFile->preTasks);
    }
213030
public function getVariables()
    {
        if (!$this->variables->count()) {
            return array();
        }

        // If credentials are not globally defined,
        // check if an action have credentials
        if (null === $this->getVariable('credentials')) {
            $this->variables->set('credentials', false);
            foreach (array_merge(array_values($this->getObjectActions()), array_values($this->getBatchActions())) as $action) {
                if ($action->getCredentials()) {
                    $this->variables->set('credentials', true);
                    break;
                }
            }
        }

        return parent::getVariables();
    }
175644
private function loadStateIdentifiers(): array
    {
        if ($this->stateIdentifiers === null) {
            $this->stateIdentifiers = $this->repository->sudo(
                static function (Repository $repository): array {
                    $stateIdentifiers = [];

                    $stateGroups = $repository->getObjectStateService()->loadObjectStateGroups();
                    foreach ($stateGroups as $stateGroup) {
                        $stateIdentifiers[$stateGroup->identifier] = [];

                        $states = $repository->getObjectStateService()->loadObjectStates($stateGroup);
                        foreach ($states as $state) {
                            $stateIdentifiers[$stateGroup->identifier][] = $state->identifier;
                        }
                    }

                    return $stateIdentifiers;
                }
            );
        }

        return $this->stateIdentifiers;
    }
649263
public function handleUninstall(): array
    {
        $result = [];

        $handlers = AbstractOperation::getOperationHandlers($this->composer);

        foreach ($this->projectType->getTypes() as $type) {
            if (isset($handlers[$type])) {
                $class = $handlers[$type];
                /** @var AbstractOperation $handler */
                $handler = new $class($this->package, $this->projectType, $this->composer);
                if ($handler instanceof AvailableOperationInterface) {
                    if (!$handler->isAvailable()) {
                        continue;
                    }
                }
                $result[] = $handler->uninstall();
            }
        }

        return $result;
    }
1368931
public function prepare()
    {
        $result = [];
        foreach (config('setup.create_user.fields') as $column => $title)
        {
            $result[$column] = $this->command->ask($title);

            if ($column == config('setup.create_user.password_field'))
            {
                $result[$column] = bcrypt($result[$column]);
            }
        }

        $result['__table'] = $this->getTable(config('setup.create_user.table'));

        return $result;
    }
165335
public function getListOfAuthorizations()
    {
        if (0 === count($this->idLists[IAmazonReferenceId::TYPE_AUTHORIZE])) {
            return null;
        }

        return $this->idLists[IAmazonReferenceId::TYPE_AUTHORIZE];
    }
1025970
public function getCredentials()
    {
        if ($this->login) return array( $this->login, $this->password);

        //Try to find the password inside symfony configuration
        if ($this->isSymfony() && $this->symfonyContainer->hasParameter('pb_private_key')) {
            return array('api', $this->symfonyContainer->getParameter('pb_private_key'));
        }

        //Using static PureBilling as fallback
        if (class_exists('\PureBilling') && \PureBilling::getPrivateKey()) {
            return array('api', \PureBilling::getPrivateKey());
        }
    }
643267
public function getAuthorisedGroups()
	{
		if (is_null($this->authGroups))
		{
			$this->authGroups = array();
		}

		if (empty($this->authGroups))
		{
			$this->authGroups = Access::getGroupsByUser($this->get('id'));
		}

		return $this->authGroups;
	}
73910
protected function getTokenCredentials() {
        return [
            'server' => $this->settings->getServiceEndpoint( 'sts' ),
            'endpoint' => $this->settings->getAuthenticationEndpoint(),
            'username' => $this->settings->username,
            'password' => $this->settings->password,
        ];
    }