public function getRequest($deflate = null)
    {
        $subject = $this->_authnRequest;

        if (is_null($deflate)) {
            $deflate = $this->_settings->shouldCompressRequests();
        }

        if ($deflate) {
            $subject = gzdeflate($this->_authnRequest);
        }

        $base64Request = base64_encode($subject);
        return $base64Request;
    }
public function getRequest($deflate = null)
    {
        $subject = $this->_authnRequest;

        if (is_null($deflate)) {
            $deflate = $this->_settings->shouldCompressRequests();
        }

        if ($deflate) {
            $subject = gzdeflate($this->_authnRequest);
        }

        $base64Request = base64_encode($subject);
        return $base64Request;
    }
public function getRequest ( $ deflate = null ) { $ subject = $ this -> _authnRequest ; if ( is_null ( $ deflate ) ) { $ deflate = $ this -> _settings -> shouldCompressRequests ( ) ; } if ( $ deflate ) { $ subject = gzdeflate ( $ this -> _authnRequest ) ; } $ base64Request = base64_encode ( $ subject ) ; return $ base64Request ; }
Returns deflated, base64 encoded, unsigned AuthnRequest.

@param bool|null $deflate Whether or not we should 'gzdeflate' the request body before we return it.

@return string
Returns deflated base64 encoded unsigned AuthnRequest .