src/Middleware/GlideMiddleware.php
protected function _checkSignature()
    {
        if (!$this->getConfig('security.secureUrls')) {
            return;
        }

        $signKey = $this->getConfig('security.signKey') ?: Security::getSalt();
        try {
            SignatureFactory::create($signKey)->validateRequest(
                $this->_path,
                $this->_params
            );
        } catch (Exception $exception) {
            throw new SignatureException($exception->getMessage(), null, $exception);
        }
    }
protected function _checkSignature()
    {
        if (!$this->getConfig('security.secureUrls')) {
            return;
        }

        $signKey = $this->getConfig('security.signKey') ?: Security::getSalt();
        try {
            SignatureFactory::create($signKey)->validateRequest(
                $this->_path,
                $this->_params
            );
        } catch (Exception $exception) {
            throw new SignatureException($exception->getMessage(), null, $exception);
        }
    }
protected function _checkSignature ( ) { if ( ! $ this -> getConfig ( 'security.secureUrls' ) ) { return ; } $ signKey = $ this -> getConfig ( 'security.signKey' ) ? : Security :: getSalt ( ) ; try { SignatureFactory :: create ( $ signKey ) -> validateRequest ( $ this -> _path , $ this -> _params ) ; } catch ( Exception $ exception ) { throw new SignatureException ( $ exception -> getMessage ( ) , null , $ exception ) ; } }
Check signature token if secure URLs are enabled.

@throws \ADmad\Glide\Exception\SignatureException

@return void
Check signature token if secure URLs are enabled .