src/SSOServer.php
protected function startBrokerSession()
    {
        if (isset($this->brokerId)) {
            return;
        }

        $sessionId = $this->getBrokerSessionId();

        if (!$sessionId) {
            $this->fail('Missing session key from broker.');
        }

        $savedSessionId = $this->getBrokerSessionData($sessionId);

        if (!$savedSessionId) {
            $this->fail('There is no saved session data associated with the broker session id.');
        }

        $this->startSession($savedSessionId);

        $this->brokerId = $this->validateBrokerSessionId($sessionId);
    }
protected function startBrokerSession()
    {
        if (isset($this->brokerId)) {
            return;
        }

        $sessionId = $this->getBrokerSessionId();

        if (!$sessionId) {
            $this->fail('Missing session key from broker.');
        }

        $savedSessionId = $this->getBrokerSessionData($sessionId);

        if (!$savedSessionId) {
            $this->fail('There is no saved session data associated with the broker session id.');
        }

        $this->startSession($savedSessionId);

        $this->brokerId = $this->validateBrokerSessionId($sessionId);
    }
protected function startBrokerSession ( ) { if ( isset ( $ this -> brokerId ) ) { return ; } $ sessionId = $ this -> getBrokerSessionId ( ) ; if ( ! $ sessionId ) { $ this -> fail ( 'Missing session key from broker.' ) ; } $ savedSessionId = $ this -> getBrokerSessionData ( $ sessionId ) ; if ( ! $ savedSessionId ) { $ this -> fail ( 'There is no saved session data associated with the broker session id.' ) ; } $ this -> startSession ( $ savedSessionId ) ; $ this -> brokerId = $ this -> validateBrokerSessionId ( $ sessionId ) ; }
Resume broker session if saved session id exist.

@throws SSOServerException

@return void
Resume broker session if saved session id exist .