csp-header
Version:
Content-Security-Policy header generator
42 lines (41 loc) • 2.29 kB
TypeScript
export declare const ALLOW = "'allow'";
export declare const ALLOW_DOWNLOADS_WITHOUT_USER_ACTIVATION = "allow-downloads-without-user-activation";
export declare const ALLOW_DUPLICATES = "'allow-duplicates'";
export declare const ALLOW_FORMS = "allow-forms";
export declare const ALLOW_MODALS = "allow-modals";
export declare const ALLOW_ORIENTATION_LOCK = "allow-orientation-lock";
export declare const ALLOW_POINTER_LOCK = "allow-pointer-lock";
export declare const ALLOW_POPUPS = "allow-popups";
export declare const ALLOW_POPUPS_TO_ESCAPE_SANDBOX = "allow-popups-to-escape-sandbox";
/**
* @deprecated
*/
export declare const ALLOW_POPUPS_TO_ESACPE_SANDBOX = "allow-popups-to-escape-sandbox";
export declare const ALLOW_PRESENTATION = "allow-presentation";
export declare const ALLOW_SAME_ORIGIN = "allow-same-origin";
export declare const ALLOW_STORAGE_ACCESS_BY_USER_ACTIVATION = "allow-storage-access-by-user-activation";
export declare const ALLOW_SCRIPTS = "allow-allow-scripts";
export declare const ALLOW_TOP_NAVIGATION = "allow-top-navigation";
export declare const ALLOW_TOP_NAVIGATION_BY_USER_ACTIVATION = "allow-top-navigation-by-user-activation";
export declare const BLOB = "blob:";
export declare const BLOCK = "'block'";
export declare const DATA = "data:";
export declare const NO_REFERRER = "'no-referrer'";
export declare const NONE = "'none'";
export declare const NONE_WHEN_DOWNGRADE = "'none-when-downgrade'";
export declare const ORIGIN = "'origin'";
export declare const ORIGIN_WHEN_CROSS_ORIGIN = "'origin-when-cross-origin'";
export declare const REPORT_SAMPLE = "'report-sample'";
export declare const SCRIPT = "'script'";
export declare const SELF = "'self'";
export declare const STRICT_DYNAMIC = "'strict-dynamic'";
export declare const UNSAFE_ALLOW_REDIRECTS = "'unsafe-allow-redirects'";
export declare const UNSAFE_EVAL = "'unsafe-eval'";
export declare const UNSAFE_HASHES = "'unsafe-hashes'";
export declare const UNSAFE_INLINE = "'unsafe-inline'";
export declare const UNSAFE_URL = "'unsafe-url'";
export declare const WASM_UNSAFE_EVAL = "'wasm-unsafe-eval'";
export declare const EVAL = "'unsafe-eval'";
export declare const HASHES = "'unsafe-hashes'";
export declare const INLINE = "'unsafe-inline'";
export declare const NO_REFERER = "'no-referrer'";