public function generateHiddenFields()
    {
        $name = $this->generateFormName();
        $token = $this->generateToken($name);
        $html = '<input type="hidden" name="' . self::REQUEST_TOKEN_NAME . '" value="' . $name . '" />';
        $html .= '<input type="hidden" name="' . self::REQUEST_TOKEN_VALUE . '" value="' . $token . '" />';
        return $html;
    }
public function generateHiddenFields()
    {
        $name = $this->generateFormName();
        $token = $this->generateToken($name);
        $html = '<input type="hidden" name="' . self::REQUEST_TOKEN_NAME . '" value="' . $name . '" />';
        $html .= '<input type="hidden" name="' . self::REQUEST_TOKEN_VALUE . '" value="' . $token . '" />';
        return $html;
    }
public function generateHiddenFields ( ) { $ name = $ this -> generateFormName ( ) ; $ token = $ this -> generateToken ( $ name ) ; $ html = '<input type="hidden" name="' . self :: REQUEST_TOKEN_NAME . '" value="' . $ name . '" />' ; $ html .= '<input type="hidden" name="' . self :: REQUEST_TOKEN_VALUE . '" value="' . $ token . '" />' ; return $ html ; }
Returns the corresponding HTML hidden fields for the CSRF.
Returns the corresponding HTML hidden fields for the CSRF .