public function CSRFAccessCheck::__construct in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Access/CsrfAccessCheck.php \Drupal\Core\Access\CsrfAccessCheck::__construct()
- 8 core/modules/rest/src/Access/CSRFAccessCheck.php \Drupal\rest\Access\CSRFAccessCheck::__construct()
Same name and namespace in other branches
- 8.0 core/modules/rest/src/Access/CSRFAccessCheck.php \Drupal\rest\Access\CSRFAccessCheck::__construct()
Constructs a new rest CSRF access check.
Parameters
\Drupal\Core\Session\SessionConfigurationInterface $session_configuration: The session configuration.
File
- core/
modules/ rest/ src/ Access/ CSRFAccessCheck.php, line 35 - Contains \Drupal\rest\Access\CSRFAccessCheck.
Class
- CSRFAccessCheck
- Access protection against CSRF attacks.
Namespace
Drupal\rest\AccessCode
public function __construct(SessionConfigurationInterface $session_configuration) {
$this->sessionConfiguration = $session_configuration;
}