Models.Configuration.SecurityHeaderOptions Class
Namespace: Nucleus.Abstractions.Models.Configuration
Assembly: Nucleus.Abstractions.dll
Represents security header options from configuration files.
Properties
Directives
Property
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.
ReportOnly
Property
Content Security Policy report-only mode. If set to true, the Content Security Policy will be applied in report-only mode.
ReportUri
Property
If set, overrides the URI to which Content Security Policy violation reports should be sent.
Fields
Section
Configuration file section path for security header options.