Table of Contents

Class XssProtectionConfig

Namespace
Auth0.ManagementApi
Assembly
Auth0.ManagementApi.dll

X-XSS-Protection header configuration (deprecated header, use CSP instead).

[Serializable]
public record XssProtectionConfig : IJsonOnDeserialized, IEquatable<XssProtectionConfig>
Inheritance
XssProtectionConfig
Implements
Inherited Members
Extension Methods

Properties

AdditionalProperties

[JsonIgnore]
public ReadOnlyAdditionalProperties AdditionalProperties { get; }

Property Value

ReadOnlyAdditionalProperties

Enabled

Whether X-XSS-Protection header is enabled.

[JsonPropertyName("enabled")]
public bool? Enabled { get; set; }

Property Value

bool?

Mode

[JsonPropertyName("mode")]
public XssProtectionMode? Mode { get; set; }

Property Value

XssProtectionMode?

ReportUri

HTTPS endpoint for X-XSS-Protection violation reports.

[JsonPropertyName("report_uri")]
public string? ReportUri { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.