Models.ClientResources.AllowedSource.AllowedSourceTypes Class
Namespace: Nucleus.Abstractions.Models.ClientResources.AllowedSource
Assembly: Nucleus.Abstractions.dll
Represents the type of source allowed by the Content Security Policy (CSP).
Fields
ChildSrc
Specifies the source for scripts, such as those used in script tags or inline scripts.
ConnectSrc
Specifies the source for connections, such as those used in WebSockets or EventSource connections.
DefaultSrc
Specifies the source for all content types, such as scripts, styles, images, etc.
FontSrc
Specifies the source for fonts, such as those used in @font-face rules or inline font styles.
FrameAncestors
Specifies the source for frames, such as those used in iframe tags or other frame elements.
FrameSrc
Specifies the source for frames, such as those used in frame tags or other frame elements.
ImgSrc
Specifies the source for images, such as those used in img tags or CSS backgrounds.
MediaSrc
Specifies the source for media files, such as audio and video.
ObjectSrc
Specifies the source for object elements, such as Flash or Java applets.
ScriptSrc
Specifies the source for scripts, such as those used in script tags or inline scripts.
ScriptSrcAttr
Specifies the source for inline scripts, such as those applied directly to HTML elements via the script attribute.
StyleSrc
Specifies the source for stylesheets, such as those used in link tags or inline styles.
StyleSrcAttr
Specifies the source for inline styles, such as those applied directly to HTML elements via the style attribute.