ContentSecurityPolicy v1.0.3 ContentSecurityPolicy.Policy View Source
Defines the ContentSecurityPolicy.Policy struct which represents a given
Content Security Policy.
This struct is intended to be a programattic representation of a policy which will need to be serialized to a valid content security policy before the browser can understand it.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Sourcet() :: %ContentSecurityPolicy.Policy{
child_src: term(),
connect_src: term(),
default_src: term(),
font_src: term(),
form_action: term(),
frame_ancestors: term(),
frame_src: term(),
img_src: term(),
media_src: term(),
object_src: term(),
plugin_types: term(),
report_uri: term(),
sandbox: term(),
script_src: term(),
style_src: term()
}