SourceKeyword : string implements SourceInterface
Representation of Content-Security-Policy source keywords see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources
Table of Contents
Interfaces
Cases
- nonceProxy = 'nonce-proxy'
- none = 'none'
- reportSample = 'report-sample'
- self = 'self'
- strictDynamic = 'strict-dynamic'
- unsafeEval = 'unsafe-eval'
- unsafeHashes = 'unsafe-hashes'
- unsafeInline = 'unsafe-inline'
- wasmUnsafeEval = 'wasm-unsafe-eval'
Methods
- applySourceImplications() : SourceCollection|null
- isApplicable() : bool
- vetoes() : bool
Cases
none
self
unsafeInline
unsafeEval
unsafeHashes
wasmUnsafeEval
reportSample
strictDynamic
nonceProxy
Methods
applySourceImplications()
public
applySourceImplications(SourceCollection $sources) : SourceCollection|null
Parameters
- $sources : SourceCollection
Return values
SourceCollection|nullisApplicable()
public
isApplicable(Directive $directive) : bool
Parameters
- $directive : Directive
Return values
boolvetoes()
public
vetoes() : bool