public function check($checksum, $type, $typeId, $formId, $formName)
    {
        $checksumRaw = $this->createKey($type, $typeId, $formId, $formName);

        return $this->encoder->isPasswordValid($checksum, $checksumRaw, $this->secret);
    }
public function check($checksum, $type, $typeId, $formId, $formName)
    {
        $checksumRaw = $this->createKey($type, $typeId, $formId, $formName);

        return $this->encoder->isPasswordValid($checksum, $checksumRaw, $this->secret);
    }
public function check ( $ checksum , $ type , $ typeId , $ formId , $ formName ) { $ checksumRaw = $ this -> createKey ( $ type , $ typeId , $ formId , $ formName ) ; return $ this -> encoder -> isPasswordValid ( $ checksum , $ checksumRaw , $ this -> secret ) ; }
Check checksum with given parameters.

@param string $checksum
@param string $type
@param string $typeId
@param string $formId
@param string $formName

@return bool
Check checksum with given parameters .