interface SeckitInterface in Security Kit 8
Same name and namespace in other branches
- 2.x src/SeckitInterface.php \Drupal\seckit\SeckitInterface
Provides an interface Seckit module.
Hierarchy
- interface \Drupal\seckit\SeckitInterface
Expanded class hierarchy of SeckitInterface
All classes that implement SeckitInterface
3 files declare their use of SeckitInterface
- SecKitEventSubscriber.php in src/
EventSubscriber/ SecKitEventSubscriber.php - SecKitSettingsForm.php in src/
Form/ SecKitSettingsForm.php - SecKitTestCaseTest.php in tests/
src/ Functional/ SecKitTestCaseTest.php
File
- src/
SeckitInterface.php, line 8
Namespace
Drupal\seckitView source
interface SeckitInterface {
/**
* Disable X-XSS-Protection HTTP header.
*/
const X_XSS_DISABLE = 0;
/**
* Set X-XSS-Protection HTTP header to 0.
*/
const X_XSS_0 = 1;
/**
* Set X-XSS-Protection HTTP header to 1; mode=block.
*/
const X_XSS_1_BLOCK = 2;
/**
* Set X-XSS-Protection HTTP header to 1.
*/
const X_XSS_1 = 3;
/**
* Disable X-Frame-Options HTTP header.
*/
const X_FRAME_DISABLE = 0;
/**
* Set X-Frame-Options HTTP header to SAMEORIGIN.
*/
const X_FRAME_SAMEORIGIN = 1;
/**
* Set X-Frame-Options HTTP header to DENY.
*/
const X_FRAME_DENY = 2;
/**
* Set X-Frame-Options HTTP header to ALLOW-FROM.
*/
const X_FRAME_ALLOW_FROM = 3;
/**
* Set the URI to POST to for the CSP report-uri directive.
*/
const CSP_REPORT_URL = '/report-csp-violation';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SeckitInterface:: |
constant | Set the URI to POST to for the CSP report-uri directive. | ||
SeckitInterface:: |
constant | Set X-Frame-Options HTTP header to ALLOW-FROM. | ||
SeckitInterface:: |
constant | Set X-Frame-Options HTTP header to DENY. | ||
SeckitInterface:: |
constant | Disable X-Frame-Options HTTP header. | ||
SeckitInterface:: |
constant | Set X-Frame-Options HTTP header to SAMEORIGIN. | ||
SeckitInterface:: |
constant | Set X-XSS-Protection HTTP header to 0. | ||
SeckitInterface:: |
constant | Set X-XSS-Protection HTTP header to 1. | ||
SeckitInterface:: |
constant | Set X-XSS-Protection HTTP header to 1; mode=block. | ||
SeckitInterface:: |
constant | Disable X-XSS-Protection HTTP header. |