Skip to content

Class SecurityHeaderSettings ​

Namespace: Momentum.ServiceDefaults.Api.FrontendIntegration
Assembly: Momentum.ServiceDefaults.Api.dll

Configuration settings for security response headers, bound from the "SecurityHeaders" configuration section.

csharp
public sealed class SecurityHeaderSettings

Inheritance ​

object ← SecurityHeaderSettings

Inherited Members ​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors ​

SecurityHeaderSettings() ​

csharp
public SecurityHeaderSettings()

Properties ​

ContentSecurityPolicy ​

csharp
public string ContentSecurityPolicy { get; set; }

Property Value ​

string

ReferrerPolicy ​

csharp
public string ReferrerPolicy { get; set; }

Property Value ​

string

XContentTypeOptions ​

csharp
public string XContentTypeOptions { get; set; }

Property Value ​

string

XFrameOptions ​

csharp
public string XFrameOptions { get; set; }

Property Value ​

string