lib/Auth/Process/PerunIdentity.php
protected function registerChooseVoAndGroup($callback, $vosForRegistration, $request)
    {

        $vosId = array();
        $chooseGroupUrl = Module::getModuleURL('perun/perun_identity_choose_vo_and_group.php');

        $stateId = State::saveState($request, 'perun:PerunIdentity');

        foreach ($vosForRegistration as $vo) {
            array_push($vosId, $vo->getId());
        }

        HTTP::redirectTrustedURL(
            $chooseGroupUrl,
            array(
                self::REGISTER_URL_BASE => $this->registerUrlBase,
                'spEntityId' => $this->spEntityId,
                'vosIdForRegistration' => $vosId,
                self::INTERFACE_PROPNAME => $this->interface,
                'callbackUrl' => $callback,
                'SPMetadata' => $request['SPMetadata'],
                'stateId' => $stateId
            )
        );
    }
protected function registerChooseVoAndGroup($callback, $vosForRegistration, $request)
    {

        $vosId = array();
        $chooseGroupUrl = Module::getModuleURL('perun/perun_identity_choose_vo_and_group.php');

        $stateId = State::saveState($request, 'perun:PerunIdentity');

        foreach ($vosForRegistration as $vo) {
            array_push($vosId, $vo->getId());
        }

        HTTP::redirectTrustedURL(
            $chooseGroupUrl,
            array(
                self::REGISTER_URL_BASE => $this->registerUrlBase,
                'spEntityId' => $this->spEntityId,
                'vosIdForRegistration' => $vosId,
                self::INTERFACE_PROPNAME => $this->interface,
                'callbackUrl' => $callback,
                'SPMetadata' => $request['SPMetadata'],
                'stateId' => $stateId
            )
        );
    }
protected function registerChooseVoAndGroup ( $ callback , $ vosForRegistration , $ request ) { $ vosId = array ( ) ; $ chooseGroupUrl = Module :: getModuleURL ( 'perun/perun_identity_choose_vo_and_group.php' ) ; $ stateId = State :: saveState ( $ request , 'perun:PerunIdentity' ) ; foreach ( $ vosForRegistration as $ vo ) { array_push ( $ vosId , $ vo -> getId ( ) ) ; } HTTP :: redirectTrustedURL ( $ chooseGroupUrl , array ( self :: REGISTER_URL_BASE => $ this -> registerUrlBase , 'spEntityId' => $ this -> spEntityId , 'vosIdForRegistration' => $ vosId , self :: INTERFACE_PROPNAME => $ this -> interface , 'callbackUrl' => $ callback , 'SPMetadata' => $ request [ 'SPMetadata' ] , 'stateId' => $ stateId ) ) ; }
Redirect user to page with selection Vo and Group for registration
@param string $callback
@param $vosForRegistration
@param $request
Redirect user to page with selection Vo and Group for registration