Class ContentSecurityPolicyConfig
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Content Security Policy configuration with multi-policy support.
[Serializable]
public record ContentSecurityPolicyConfig : IJsonOnDeserialized, IEquatable<ContentSecurityPolicyConfig>
- Inheritance
-
ContentSecurityPolicyConfig
- Implements
- Inherited Members
- Extension Methods
Properties
AdditionalProperties
[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }
Property Value
Enabled
Whether CSP is enabled.
[JsonPropertyName("enabled")]
public bool? Enabled { get; set; }
Property Value
- bool?
Policies
[JsonPropertyName("policies")]
public IEnumerable<CspPolicy>? Policies { get; set; }
Property Value
ReportingInfrastructure
[JsonPropertyName("reporting_infrastructure")]
public Optional<CspReportingInfrastructure?> ReportingInfrastructure { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.