Nucleus .Net Core CMS

Models.Configuration.SecurityHeaderOptions Class

Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Represents security header options from configuration files.
Allows users to configure additional headers and values to be returned by SecurityHeadersMiddleware.
A list of Content Security Policy directives to be added to the response. These values modify the auto-generated directives which would otherwise be set by SecurityHeadersMiddleware.
A list of security headers to be added to the response. These values override the values which would otherwise be generated by SecurityHeadersMiddleware.
Content Security Policy report-only mode. If set to true, the Content Security Policy will be applied in report-only mode.
If set, overrides the URI to which Content Security Policy violation reports should be sent.
Configuration file section path for security header options.