Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
App
CsrfAwareActionInterface.php
Go to the documentation of this file.
1
<?php
7
declare(strict_types=1);
8
9
namespace
Magento\Framework\App
;
10
11
use
Magento\Framework\App\Request\InvalidRequestException
;
12
16
interface
CsrfAwareActionInterface
extends
ActionInterface
17
{
26
public
function
createCsrfValidationException
(
27
RequestInterface
$request
28
): ?
InvalidRequestException
;
29
38
public
function
validateForCsrf
(
RequestInterface
$request
): ?bool;
39
}
Magento\Framework\App
Magento\Framework\App\Request\InvalidRequestException
Definition:
InvalidRequestException.php:20
Magento\Framework\App\CsrfAwareActionInterface
Definition:
CsrfAwareActionInterface.php:16
Magento\Framework\App\RequestInterface
Definition:
RequestInterface.php:14
Magento\Framework\App\ActionInterface
Definition:
ActionInterface.php:14
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Framework\App\CsrfAwareActionInterface\createCsrfValidationException
createCsrfValidationException(RequestInterface $request)
Magento\Framework\App\CsrfAwareActionInterface\validateForCsrf
validateForCsrf(RequestInterface $request)